Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",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 10.0.0-master/package.mo): time 1.769/1.769, allocations: 390.4 MB / 397.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 185.2 kB / 490.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.112/1.112, allocations: 221.4 MB / 0.7863 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008474/0.0008474, allocations: 92.17 kB / 0.9264 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2408/0.2417, allocations: 149.2 MB / 1.072 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.7756, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.9164, allocations: 154.1 MB / 1.362 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001588/0.9166, allocations: 72.58 kB / 1.362 GB, free: 37.36 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.04807/0.9647, allocations: 23.88 MB / 1.386 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.9648, allocations: 8 kB / 1.386 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.965, allocations: 189.8 kB / 1.386 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.9665, allocations: 0.9657 MB / 1.387 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.9666, allocations: 59.94 kB / 1.387 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.9667, allocations: 104 kB / 1.387 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001383/0.9681, allocations: 0.8925 MB / 1.388 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.9697, allocations: 1.13 MB / 1.389 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.9697, allocations: 4 kB / 1.389 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.9698, allocations: 4 kB / 1.389 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.9699, allocations: 36 kB / 1.389 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004588/0.9745, allocations: 3.674 MB / 1.392 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.9758, allocations: 0.9954 MB / 1.393 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.9762, allocations: 371.8 kB / 1.394 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.9763, allocations: 12.78 kB / 1.394 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/0.9768, allocations: 489.2 kB / 1.394 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.9768, allocations: 3.938 kB / 1.394 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.0009804/0.9778, allocations: 0.6975 MB / 1.395 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.9779, allocations: 218.6 kB / 1.395 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.9784, allocations: 0.5764 MB / 1.396 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.9785, allocations: 41.69 kB / 1.396 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.9787, allocations: 0.5111 MB / 1.396 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.9789, allocations: 307.4 kB / 1.397 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.9789, allocations: 4 kB / 1.397 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.979, allocations: 344.4 kB / 1.397 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.9795, allocations: 330.3 kB / 1.397 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.98, allocations: 0.5052 MB / 1.398 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.9807, allocations: 342.8 kB / 1.398 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.9807, allocations: 4 kB / 1.398 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001489/0.9822, allocations: 0.9201 MB / 1.399 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.9823, allocations: 454.6 kB / 1.399 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9824, allocations: 6.062 kB / 1.399 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9824, allocations: 4 kB / 1.399 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.9831, allocations: 199.7 kB / 1.4 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.9832, allocations: 4 kB / 1.4 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/0.9841, allocations: 211.1 kB / 1.4 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.9842, allocations: 47.98 kB / 1.4 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.9843, allocations: 4 kB / 1.4 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001436/0.9857, allocations: 0.7789 MB / 1.401 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.9857, allocations: 0 / 1.401 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.9857, allocations: 4 kB / 1.401 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.9864, allocations: 183.9 kB / 1.401 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.9864, allocations: 11.58 kB / 1.401 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.9873, allocations: 187.3 kB / 1.401 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/0.9874, allocations: 39.98 kB / 1.401 GB, free: 13.44 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition6,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,dam.not1.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001871/0.9876, allocations: 139.4 kB / 1.401 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.9877, allocations: 98.77 kB / 1.401 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.9889, allocations: 0.7714 MB / 1.402 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.9889, allocations: 12 kB / 1.402 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9889, allocations: 0 / 1.402 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.989, allocations: 14.17 kB / 1.402 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.9915, allocations: 1.969 MB / 1.404 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9915, allocations: 3.906 kB / 1.404 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.9922, allocations: 183.9 kB / 1.404 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.9922, allocations: 7.938 kB / 1.404 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.9923, allocations: 11.98 kB / 1.404 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.9923, allocations: 8 kB / 1.404 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9923, allocations: 0 / 1.404 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001719/0.994, allocations: 1.323 MB / 1.405 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002348/0.9964, allocations: 2.135 MB / 1.408 GB, free: 6.578 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.9965, allocations: 175.8 kB / 1.408 GB, free: 6.387 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.9967, allocations: 12 kB / 1.408 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.9973, allocations: 91.88 kB / 1.408 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.9975, allocations: 116.8 kB / 1.408 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.806e-05/0.9976, allocations: 39.98 kB / 1.408 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0004277/0.998, allocations: 415.2 kB / 1.408 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002052/1, allocations: 497.4 kB / 1.409 GB, free: 5.246 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (dam1.conCooDam.I.y,dam1.conHeaDam.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.not1.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 106 * 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 0.000213/1, allocations: 148.8 kB / 1.409 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001941/1.002, allocations: 1.426 MB / 1.41 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.002, allocations: 0 / 1.41 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/1.003, allocations: 407.6 kB / 1.411 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/1.004, allocations: 160 kB / 1.411 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/1.006, allocations: 1.593 MB / 1.412 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000969/1.007, allocations: 1.278 MB / 1.414 GB, free: 144 kB / 0.9011 GB Notification: Performance of SimCode: time 4.4e-07/1.007, allocations: 0 / 1.414 GB, free: 144 kB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1)