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_T.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_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",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.853/1.853, 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.0009298/0.0009298, allocations: 188.4 kB / 487 MB, free: 5.434 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008717/0.0008716, allocations: 98.56 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4328/0.4337, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.6294, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5298/1.159, allocations: 150.3 MB / 1.352 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.16, allocations: 77.94 kB / 1.352 GB, free: 15.99 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.017/1.177, allocations: 7.163 MB / 1.359 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/1.177, allocations: 9.906 kB / 1.359 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/1.177, allocations: 63.86 kB / 1.359 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/1.177, allocations: 379.5 kB / 1.36 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.177, allocations: 17.97 kB / 1.36 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/1.177, allocations: 36.98 kB / 1.36 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007034/1.178, allocations: 407.3 kB / 1.36 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/1.179, allocations: 409.6 kB / 1.36 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.179, allocations: 0 / 1.36 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/1.179, allocations: 1.469 kB / 1.36 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/1.179, allocations: 16.03 kB / 1.36 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/1.181, allocations: 1.495 MB / 1.362 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/1.182, allocations: 386.3 kB / 1.362 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/1.182, allocations: 156.1 kB / 1.362 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/1.182, allocations: 4.609 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/1.182, allocations: 39.25 kB / 1.363 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/1.182, allocations: 0 / 1.363 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38): time 0.0004556/1.183, allocations: 296.9 kB / 1.363 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/1.183, allocations: 59.83 kB / 1.363 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/1.183, allocations: 256.9 kB / 1.363 GB, free: 13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.183, allocations: 29.98 kB / 1.363 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/1.183, allocations: 251.2 kB / 1.363 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/1.183, allocations: 123.4 kB / 1.363 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/1.183, allocations: 3.938 kB / 1.363 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/1.183, allocations: 346.6 kB / 1.364 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/1.183, allocations: 116 kB / 1.364 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/1.184, allocations: 157 kB / 1.364 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.184, allocations: 138.1 kB / 1.364 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.184, allocations: 4.516 kB / 1.364 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004866/1.184, allocations: 353.5 kB / 1.365 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/1.184, allocations: 187 kB / 1.365 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.184, allocations: 3.906 kB / 1.365 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.184, allocations: 4 kB / 1.365 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/1.185, allocations: 101.6 kB / 1.365 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.185, allocations: 4 kB / 1.365 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/1.185, allocations: 69.72 kB / 1.365 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/1.185, allocations: 13.5 kB / 1.365 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-06/1.185, allocations: 4 kB / 1.365 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003974/1.186, allocations: 284.5 kB / 1.365 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/1.186, allocations: 0 / 1.365 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/1.186, allocations: 4 kB / 1.365 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/1.186, allocations: 86.08 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/1.186, allocations: 4 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/1.186, allocations: 36.95 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/1.186, allocations: 12.47 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 8.428e-05/1.186, allocations: 116.8 kB / 1.365 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/1.186, allocations: 32.19 kB / 1.365 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/1.187, allocations: 309.7 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.187, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.187, allocations: 0.5156 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.187, allocations: 5.719 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/1.188, allocations: 1.161 MB / 1.367 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.188, allocations: 4 kB / 1.367 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/1.188, allocations: 88.33 kB / 1.367 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/1.188, allocations: 8 kB / 1.367 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.188, allocations: 11.91 kB / 1.367 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.188, allocations: 7.938 kB / 1.367 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.188, allocations: 8 kB / 1.367 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004597/1.189, allocations: 0.7524 MB / 1.368 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004715/1.189, allocations: 1.142 MB / 1.369 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/1.189, allocations: 119.5 kB / 1.369 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/1.189, allocations: 12 kB / 1.369 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.19, allocations: 55.95 kB / 1.369 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/1.19, allocations: 37.88 kB / 1.369 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/1.19, allocations: 15.44 kB / 1.369 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001319/1.19, allocations: 201.8 kB / 1.369 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001675/1.192, allocations: 182.8 kB / 1.369 GB, free: 7.219 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001185/1.192, allocations: 118.7 kB / 1.37 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006005/1.192, allocations: 473.4 kB / 1.37 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/1.192, allocations: 0 / 1.37 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/1.193, allocations: 157.4 kB / 1.37 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/1.193, allocations: 49.53 kB / 1.37 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/1.194, allocations: 0.6877 MB / 1.371 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/1.195, allocations: 0.8894 MB / 1.372 GB, free: 21.05 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/1.195, allocations: 0 / 1.372 GB, free: 21.05 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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_T_res.mat does not exist to compare? outputFormat=mat