Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",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.819/1.819, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001017/0.001017, allocations: 179.9 kB / 490.8 MB, free: 1.918 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.157/1.157, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0008662/0.0008662, allocations: 98.17 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4277/0.4286, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.6121, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.028/3.64, allocations: 1.923 GB / 3.135 GB, free: 346.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/3.64, allocations: 89.56 kB / 3.135 GB, free: 346.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 2.077/5.717, allocations: 0.8163 GB / 3.951 GB, free: 226.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/5.717, allocations: 7.812 kB / 3.951 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/5.72, allocations: 460.3 kB / 3.951 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/5.721, allocations: 0.9119 MB / 3.952 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/5.721, allocations: 33.78 kB / 3.952 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/5.721, allocations: 64.98 kB / 3.952 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/5.722, allocations: 0.9394 MB / 3.953 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/5.724, allocations: 1.069 MB / 3.954 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/5.724, allocations: 15.06 kB / 3.954 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/5.724, allocations: 0 / 3.954 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/5.724, allocations: 49.19 kB / 3.954 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004335/5.728, allocations: 5.336 MB / 3.96 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/5.729, allocations: 0.5078 MB / 3.96 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/5.73, allocations: 0.603 MB / 3.961 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/5.73, allocations: 0.6786 MB / 3.961 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/5.73, allocations: 44.75 kB / 3.961 GB, free: 222.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 1.853e-06/5.73, allocations: 0 / 3.961 GB, free: 222.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.004477/5.735, allocations: 2.236 MB / 3.964 GB, free: 221.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/5.735, allocations: 65.12 kB / 3.964 GB, free: 221.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/5.735, allocations: 488.4 kB / 3.964 GB, free: 221.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/5.735, allocations: 27.3 kB / 3.964 GB, free: 221.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/5.735, allocations: 355.7 kB / 3.964 GB, free: 221.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/5.735, allocations: 282.4 kB / 3.965 GB, free: 221.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/5.735, allocations: 2.875 kB / 3.965 GB, free: 221.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/5.736, allocations: 389.7 kB / 3.965 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/5.736, allocations: 354.7 kB / 3.965 GB, free: 221.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/5.736, allocations: 478.1 kB / 3.966 GB, free: 220.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/5.737, allocations: 449.5 kB / 3.966 GB, free: 220.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/5.737, allocations: 3.219 kB / 3.966 GB, free: 220.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001474/5.739, allocations: 1.027 MB / 3.967 GB, free: 220.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/5.739, allocations: 3.875 kB / 3.967 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/5.739, allocations: 10.94 kB / 3.967 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/5.739, allocations: 54.8 kB / 3.967 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/5.74, allocations: 169.2 kB / 3.968 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003479/5.74, allocations: 0.6207 MB / 3.968 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/5.741, allocations: 95.73 kB / 3.968 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/5.741, allocations: 32.02 kB / 3.968 GB, free: 220.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001284/5.741, allocations: 114.3 kB / 3.968 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/5.741, allocations: 84.97 kB / 3.968 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/5.743, allocations: 0.9942 MB / 3.969 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/5.743, allocations: 7.125 kB / 3.969 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/5.743, allocations: 3.906 kB / 3.969 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/5.744, allocations: 0.9883 MB / 3.97 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/5.747, allocations: 2.111 MB / 3.972 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/5.747, allocations: 0 / 3.972 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/5.748, allocations: 205.3 kB / 3.973 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/5.748, allocations: 3.594 kB / 3.973 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/5.748, allocations: 11.45 kB / 3.973 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/5.748, allocations: 3.656 kB / 3.973 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/5.748, allocations: 3.797 kB / 3.973 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001592/5.749, allocations: 1.409 MB / 3.974 GB, free: 219.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002459/5.752, allocations: 2.456 MB / 3.976 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/5.752, allocations: 259.9 kB / 3.977 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/5.752, allocations: 6.875 kB / 3.977 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/5.753, allocations: 75.27 kB / 3.977 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/5.753, allocations: 39.84 kB / 3.977 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/5.753, allocations: 28.81 kB / 3.977 GB, free: 218.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003293/5.754, allocations: 391.4 kB / 3.977 GB, free: 218.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001865/5.756, allocations: 0.682 MB / 3.978 GB, free: 218.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.001874/5.757, allocations: 2.254 MB / 3.98 GB, free: 217.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001048/5.758, allocations: 0.8642 MB / 3.981 GB, free: 217.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/5.758, allocations: 3.75 kB / 3.981 GB, free: 217.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/5.759, allocations: 463.8 kB / 3.981 GB, free: 217.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/5.761, allocations: 494.1 kB / 3.982 GB, free: 217.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/5.764, allocations: 1.935 MB / 3.984 GB, free: 217.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008372/5.765, allocations: 1.276 MB / 3.985 GB, free: 216.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/5.765, allocations: 6.75 kB / 3.985 GB, free: 216.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat