Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009864/0.0009865, allocations: 181.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008487/0.0008484, allocations: 104.7 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3331/0.334, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.4953, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.9646, allocations: 131.7 MB / 1.013 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.9648, allocations: 75.94 kB / 1.013 GB, free: 6.793 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002496/0.9673, allocations: 0.9671 MB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.9674, allocations: 8 kB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.9674, allocations: 7.906 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.9675, allocations: 170.9 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.9675, allocations: 0 / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.9675, allocations: 7 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.731e-05/0.9676, allocations: 14.98 kB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.9677, allocations: 55.73 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.9677, allocations: 4 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.9677, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.9677, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.968, allocations: 247.2 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.011e-05/0.9681, allocations: 40.08 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.9681, allocations: 16.8 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.9681, allocations: 4 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.246e-05/0.9682, allocations: 71.08 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.9682, allocations: 0 / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001346/0.9684, allocations: 60.92 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.9684, allocations: 51.41 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.9685, allocations: 107 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.9685, allocations: 25.7 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.9685, allocations: 98.7 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.9685, allocations: 11.22 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.9686, allocations: 0 / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.9686, allocations: 322.5 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.9687, allocations: 7.25 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.9687, allocations: 41.5 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.9687, allocations: 15.31 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.9688, allocations: 0 / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.8e-05/0.9689, allocations: 76.58 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.9689, allocations: 4 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9689, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.9689, allocations: 4 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.9689, allocations: 4 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.969, allocations: 3.984 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.9691, allocations: 20.05 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.9691, allocations: 0 / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.9691, allocations: 105 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.9692, allocations: 10.97 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.9692, allocations: 7.688 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.9692, allocations: 3.938 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9692, allocations: 0 / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9692, allocations: 11.91 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.9693, allocations: 149.2 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9693, allocations: 0 / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-06/0.9693, allocations: 0 / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.9694, allocations: 3.938 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.9694, allocations: 4 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9694, allocations: 0 / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9694, allocations: 0.625 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001036/0.9695, allocations: 95.83 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001818/0.9697, allocations: 471.4 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.9697, allocations: 81.02 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.9697, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.9698, allocations: 22.11 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.9699, allocations: 11.89 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.9699, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.59e-05/0.9699, allocations: 89.77 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007165/0.9706, allocations: 12.19 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.756e-05/0.9708, allocations: 95.25 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.9708, allocations: 50.31 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9709, allocations: 2.562 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.9709, allocations: 18.81 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.9711, allocations: 12.77 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.9713, allocations: 101.4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.9715, allocations: 0.7037 MB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9715, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)