Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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 9.1.1-maint.9.1.x/package.mo): time 1.811/1.811, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 177.3 kB / 487 MB, free: 5.406 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.143/1.143, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 96.62 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.407/0.4079, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.5871, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5129/1.1, allocations: 153.2 MB / 1.355 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/1.1, allocations: 73.64 kB / 1.355 GB, free: 15.77 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.04904/1.149, allocations: 22.81 MB / 1.377 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/1.149, allocations: 9 kB / 1.377 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/1.15, allocations: 185.8 kB / 1.378 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/1.151, allocations: 0.9352 MB / 1.378 GB, free: 496 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/1.151, allocations: 58.75 kB / 1.378 GB, free: 440 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.151, allocations: 92 kB / 1.379 GB, free: 348 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/1.153, allocations: 0.8383 MB / 1.379 GB, free: 15.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/1.154, allocations: 1.065 MB / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.154, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/1.154, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/1.155, allocations: 36 kB / 1.38 GB, free: 15.04 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/1.16, allocations: 3.488 MB / 1.384 GB, free: 12.46 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.161, allocations: 0.8462 MB / 1.385 GB, free: 11.85 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/1.161, allocations: 346.2 kB / 1.385 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/1.161, allocations: 16.12 kB / 1.385 GB, free: 11.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005928/1.162, allocations: 457.9 kB / 1.385 GB, free: 11.31 MB / 0.823 GB Notification: Performance of pre-optimization done (n=96): time 2.414e-06/1.162, allocations: 0 / 1.385 GB, free: 11.31 MB / 0.823 GB Notification: Performance of matching and sorting (n=96): time 0.001011/1.163, allocations: 0.6422 MB / 1.386 GB, free: 10.83 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/1.163, allocations: 222.4 kB / 1.386 GB, free: 10.57 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/1.164, allocations: 0.5492 MB / 1.387 GB, free: 10.16 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/1.164, allocations: 44.38 kB / 1.387 GB, free: 10.12 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/1.164, allocations: 0.4883 MB / 1.387 GB, free: 9.691 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/1.164, allocations: 287.1 kB / 1.388 GB, free: 9.449 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/1.165, allocations: 4 kB / 1.388 GB, free: 9.445 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.165, allocations: 345.8 kB / 1.388 GB, free: 9.117 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/1.165, allocations: 308.6 kB / 1.388 GB, free: 8.953 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/1.166, allocations: 494.9 kB / 1.389 GB, free: 8.562 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/1.166, allocations: 322.4 kB / 1.389 GB, free: 8.359 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.166, allocations: 0 / 1.389 GB, free: 8.359 MB / 0.823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001479/1.168, allocations: 0.8737 MB / 1.39 GB, free: 7.719 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/1.168, allocations: 456.8 kB / 1.39 GB, free: 7.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.168, allocations: 0 / 1.39 GB, free: 7.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.168, allocations: 8 kB / 1.39 GB, free: 7.242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/1.169, allocations: 182.3 kB / 1.391 GB, free: 7.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.169, allocations: 8 kB / 1.391 GB, free: 7.062 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/1.17, allocations: 210.9 kB / 1.391 GB, free: 6.859 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/1.17, allocations: 38.3 kB / 1.391 GB, free: 6.828 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/1.17, allocations: 4 kB / 1.391 GB, free: 6.824 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001328/1.171, allocations: 0.7365 MB / 1.392 GB, free: 6.316 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.171, allocations: 0 / 1.392 GB, free: 6.316 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.171, allocations: 8 kB / 1.392 GB, free: 6.309 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/1.172, allocations: 162.5 kB / 1.392 GB, free: 6.156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.172, allocations: 7.938 kB / 1.392 GB, free: 6.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/1.173, allocations: 190.5 kB / 1.392 GB, free: 5.965 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/1.173, allocations: 38.98 kB / 1.392 GB, free: 5.934 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$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 (117): * Single equations (assignments): 115 * 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.0001921/1.173, allocations: 134.9 kB / 1.392 GB, free: 5.797 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.173, allocations: 94.86 kB / 1.392 GB, free: 5.703 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/1.174, allocations: 0.722 MB / 1.393 GB, free: 5.203 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/1.174, allocations: 8 kB / 1.393 GB, free: 5.195 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.174, allocations: 3.906 kB / 1.393 GB, free: 5.191 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/1.174, allocations: 3.984 kB / 1.393 GB, free: 5.188 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/1.177, allocations: 1.874 MB / 1.395 GB, free: 3.867 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.177, allocations: 4 kB / 1.395 GB, free: 3.863 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/1.178, allocations: 166.2 kB / 1.395 GB, free: 3.707 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/1.178, allocations: 7.906 kB / 1.395 GB, free: 3.699 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/1.178, allocations: 11.05 kB / 1.395 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.178, allocations: 11.94 kB / 1.395 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.178, allocations: 0 / 1.395 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0016/1.179, allocations: 1.246 MB / 1.396 GB, free: 2.777 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002172/1.181, allocations: 2.033 MB / 1.398 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/1.182, allocations: 176.9 kB / 1.398 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.182, allocations: 14.44 kB / 1.398 GB, free: 1.086 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/1.182, allocations: 83.89 kB / 1.398 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/1.183, allocations: 115.6 kB / 1.398 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/1.183, allocations: 30.55 kB / 1.398 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004165/1.183, allocations: 405.2 kB / 1.399 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002201/1.185, allocations: 468 kB / 1.399 GB, free: 152 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dam1.conCooDam.I.y) * Number of discrete variables: 23 ($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 (100): * Single equations (assignments): 98 * 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.0002497/1.186, allocations: 159.1 kB / 1.399 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001943/1.187, allocations: 1.347 MB / 1.401 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.187, allocations: 0 / 1.401 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005507/1.188, allocations: 383.4 kB / 1.401 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/1.189, allocations: 148.9 kB / 1.401 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/1.192, allocations: 1.494 MB / 1.403 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.193, allocations: 1.237 MB / 1.404 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.193, allocations: 4 kB / 1.404 GB, free: 12.09 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe 2>&1)