Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.861/1.861, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009761/0.000976, allocations: 185.2 kB / 487 MB, free: 5.414 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.16/1.16, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0008365/0.0008365, allocations: 102.6 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4384/0.4393, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.6399, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5264/1.166, allocations: 150.3 MB / 1.352 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/1.167, allocations: 76.77 kB / 1.352 GB, free: 15.86 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.0453/1.212, allocations: 19.73 MB / 1.372 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/1.212, allocations: 8 kB / 1.372 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/1.212, allocations: 177.8 kB / 1.372 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.213, allocations: 0.7819 MB / 1.372 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/1.213, allocations: 52 kB / 1.373 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/1.214, allocations: 92 kB / 1.373 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001967/1.216, allocations: 1.138 MB / 1.374 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.218, allocations: 1.11 MB / 1.375 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1.218, allocations: 0.6562 kB / 1.375 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.218, allocations: 4 kB / 1.375 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/1.218, allocations: 39.91 kB / 1.375 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007027/1.225, allocations: 4.408 MB / 1.379 GB, free: 432 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/1.227, allocations: 0.9353 MB / 1.38 GB, free: 15.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/1.227, allocations: 438.9 kB / 1.38 GB, free: 15.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-05/1.227, allocations: 23.31 kB / 1.38 GB, free: 15.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.227, allocations: 61.62 kB / 1.381 GB, free: 15.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.076e-06/1.227, allocations: 0 / 1.381 GB, free: 15.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=110): time 0.001351/1.229, allocations: 0.8006 MB / 1.381 GB, free: 14.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.229, allocations: 64.41 kB / 1.381 GB, free: 14.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/1.23, allocations: 0.5585 MB / 1.382 GB, free: 14.41 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/1.23, allocations: 25.7 kB / 1.382 GB, free: 14.38 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/1.23, allocations: 0.5516 MB / 1.383 GB, free: 13.88 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/1.23, allocations: 352.8 kB / 1.383 GB, free: 13.57 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/1.23, allocations: 0 / 1.383 GB, free: 13.57 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.23, allocations: 400.3 kB / 1.383 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/1.231, allocations: 345.9 kB / 1.384 GB, free: 13.03 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/1.232, allocations: 460 kB / 1.384 GB, free: 12.72 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/1.232, allocations: 399.2 kB / 1.384 GB, free: 12.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/1.232, allocations: 0 / 1.384 GB, free: 12.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001496/1.234, allocations: 0.9777 MB / 1.385 GB, free: 11.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/1.234, allocations: 275.7 kB / 1.386 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.234, allocations: 0 / 1.386 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.234, allocations: 8 kB / 1.386 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.235, allocations: 293.7 kB / 1.386 GB, free: 11.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/1.235, allocations: 4 kB / 1.386 GB, free: 11.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/1.236, allocations: 194.9 kB / 1.386 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/1.236, allocations: 41.67 kB / 1.386 GB, free: 11.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/1.236, allocations: 7.938 kB / 1.386 GB, free: 11.01 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/1.237, allocations: 0.8209 MB / 1.387 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.237, allocations: 0 / 1.387 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/1.237, allocations: 8 kB / 1.387 GB, free: 10.47 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009398/1.238, allocations: 242.8 kB / 1.387 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.238, allocations: 4 kB / 1.387 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/1.239, allocations: 122.6 kB / 1.387 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/1.239, allocations: 33.98 kB / 1.387 GB, free: 10.09 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 137 * 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 0.0001858/1.239, allocations: 116.8 kB / 1.387 GB, free: 9.973 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.239, allocations: 93.69 kB / 1.388 GB, free: 9.883 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/1.241, allocations: 1.029 MB / 1.389 GB, free: 9.164 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.241, allocations: 12 kB / 1.389 GB, free: 9.152 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.241, allocations: 0 / 1.389 GB, free: 9.152 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.241, allocations: 3.984 kB / 1.389 GB, free: 9.148 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/1.246, allocations: 3.46 MB / 1.392 GB, free: 6.637 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.246, allocations: 12 kB / 1.392 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009477/1.247, allocations: 270 kB / 1.392 GB, free: 6.371 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/1.247, allocations: 16 kB / 1.392 GB, free: 6.355 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/1.247, allocations: 20 kB / 1.392 GB, free: 6.336 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/1.247, allocations: 23.92 kB / 1.392 GB, free: 6.312 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.247, allocations: 15.94 kB / 1.392 GB, free: 6.297 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001868/1.249, allocations: 1.928 MB / 1.394 GB, free: 4.258 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001816/1.251, allocations: 2.3 MB / 1.396 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/1.251, allocations: 213.7 kB / 1.397 GB, free: 1.625 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.252, allocations: 15.98 kB / 1.397 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/1.252, allocations: 152 kB / 1.397 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.253, allocations: 105.4 kB / 1.397 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/1.253, allocations: 53.98 kB / 1.397 GB, free: 1.328 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004776/1.253, allocations: 424.9 kB / 1.397 GB, free: 1.039 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002439/1.256, allocations: 0.5007 MB / 1.398 GB, free: 0.5352 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 128 * 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 Backend phase and start with SimCode phase: time 0.0002385/1.256, allocations: 150.8 kB / 1.398 GB, free: 396 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002146/1.258, allocations: 1.377 MB / 1.399 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.258, allocations: 4.188 kB / 1.399 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/1.259, allocations: 498.9 kB / 1.4 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/1.259, allocations: 116.2 kB / 1.4 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/1.263, allocations: 1.906 MB / 1.402 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.264, allocations: 1.302 MB / 1.403 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.264, allocations: 0 / 1.403 GB, free: 11.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat