Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.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.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper",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.809/1.809, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.001165/0.001165, allocations: 179.3 kB / 490.8 MB, free: 1.914 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.131/1.131, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 104.8 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4471/0.4479, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.6725, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6224/1.295, allocations: 151.6 MB / 1.36 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/1.295, allocations: 76.98 kB / 1.36 GB, free: 17.5 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0195/1.315, allocations: 7.658 MB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/1.315, allocations: 8.75 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/1.315, allocations: 54.36 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/1.315, allocations: 336.8 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/1.315, allocations: 13.53 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/1.315, allocations: 24.23 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003697/1.316, allocations: 208 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/1.316, allocations: 286.7 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.316, allocations: 1.312 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/1.316, allocations: 0 / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.316, allocations: 13.19 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/1.318, allocations: 1.183 MB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/1.318, allocations: 221.5 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/1.318, allocations: 101 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/1.318, allocations: 2.594 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/1.318, allocations: 123.2 kB / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/1.318, allocations: 0 / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003197/1.319, allocations: 194.2 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.319, allocations: 111.6 kB / 1.37 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/1.319, allocations: 249.2 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/1.319, allocations: 28.11 kB / 1.37 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.319, allocations: 186.3 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/1.319, allocations: 67.3 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/1.319, allocations: 2.25 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.319, allocations: 340.2 kB / 1.371 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/1.32, allocations: 76.92 kB / 1.371 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/1.32, allocations: 142.2 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/1.32, allocations: 103.8 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.32, allocations: 0 / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005048/1.32, allocations: 269.7 kB / 1.371 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.946e-05/1.321, allocations: 269.8 kB / 1.372 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/1.321, allocations: 1.453 kB / 1.372 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/1.321, allocations: 5.297 kB / 1.372 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/1.321, allocations: 57.83 kB / 1.372 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.321, allocations: 7.391 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/1.321, allocations: 89.89 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/1.321, allocations: 11.61 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/1.321, allocations: 7.156 kB / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004118/1.322, allocations: 198.7 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/1.322, allocations: 1.062 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/1.322, allocations: 2.281 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/1.322, allocations: 42.08 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/1.322, allocations: 14.42 kB / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/1.322, allocations: 69.22 kB / 1.372 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/1.322, allocations: 13.78 kB / 1.372 GB, free: 30.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 8.746e-05/1.322, allocations: 122.3 kB / 1.372 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/1.322, allocations: 29.08 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/1.322, allocations: 27.53 kB / 1.372 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.322, allocations: 4.891 kB / 1.372 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.322, allocations: 4 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.322, allocations: 0 / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/1.323, allocations: 353.7 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.323, allocations: 0 / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/1.323, allocations: 61.23 kB / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/1.323, allocations: 1.219 kB / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.323, allocations: 2.422 kB / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.323, allocations: 1.031 kB / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.323, allocations: 0 / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002639/1.323, allocations: 223.9 kB / 1.373 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003687/1.324, allocations: 0.5896 MB / 1.374 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/1.324, allocations: 106 kB / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/1.324, allocations: 1.672 kB / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/1.324, allocations: 37.36 kB / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/1.324, allocations: 18.03 kB / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/1.324, allocations: 4.812 kB / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001773/1.324, allocations: 198.3 kB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001476/1.326, allocations: 136.3 kB / 1.374 GB, free: 29.28 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001477/1.326, allocations: 115.6 kB / 1.374 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004968/1.326, allocations: 358.6 kB / 1.375 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.326, allocations: 1.094 kB / 1.375 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/1.327, allocations: 90.47 kB / 1.375 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/1.327, allocations: 72.08 kB / 1.375 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/1.328, allocations: 452.2 kB / 1.375 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/1.328, allocations: 0.8336 MB / 1.376 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.328, allocations: 0 / 1.376 GB, free: 28.22 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1)