Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.conf.json 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/FastBuildings master/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",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/Complex 4.0.0+maint.om/package.mo): time 0.002509/0.002509, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02111/0.02111, allocations: 4.544 MB / 12.41 MB, free: 0.6992 MB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.4 MB / 235.3 MB, free: 13.8 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 105 kB / 287.2 MB, free: 11.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1236/0.1246, allocations: 57.61 MB / 344.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.3763, allocations: 51.48 MB / 396.3 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09339/0.4697, allocations: 76.03 MB / 472.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000139/0.4699, allocations: 47.98 kB / 472.4 MB, free: 4.504 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.012/0.4819, allocations: 5.161 MB / 477.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.482, allocations: 12 kB / 477.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.482, allocations: 15.81 kB / 477.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.4823, allocations: 207 kB / 477.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4823, allocations: 11.98 kB / 477.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4824, allocations: 8 kB / 477.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001915/0.4826, allocations: 87.98 kB / 477.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.4828, allocations: 148.7 kB / 478 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4829, allocations: 7.891 kB / 478 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4829, allocations: 0 / 478 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.4829, allocations: 4 kB / 478 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009682/0.4839, allocations: 0.7206 MB / 478.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.484, allocations: 58.47 kB / 478.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.484, allocations: 32.98 kB / 478.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.484, allocations: 0 / 478.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.4841, allocations: 34.5 kB / 478.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.4841, allocations: 0 / 478.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001948/0.4843, allocations: 77.59 kB / 479 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.4843, allocations: 59.34 kB / 479 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4844, allocations: 127.7 kB / 479.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.4845, allocations: 29.7 kB / 479.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.4845, allocations: 139.4 kB / 479.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.4846, allocations: 23.64 kB / 479.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.4846, allocations: 0 / 479.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4847, allocations: 318.8 kB / 479.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.4848, allocations: 32 kB / 479.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.4848, allocations: 70.86 kB / 479.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.822e-05/0.4849, allocations: 50.34 kB / 479.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4849, allocations: 0 / 479.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001871/0.4851, allocations: 117.5 kB / 479.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4851, allocations: 9.938 kB / 479.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4851, allocations: 0 / 479.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4852, allocations: 4 kB / 479.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.4853, allocations: 32.14 kB / 480 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4854, allocations: 8 kB / 480 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.4854, allocations: 7.906 kB / 480 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4855, allocations: 12 kB / 480 MB, free: 12.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.1e-05/0.4855, allocations: 108.9 kB / 480.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.4856, allocations: 7.906 kB / 480.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.4856, allocations: 16.44 kB / 480.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4856, allocations: 3.984 kB / 480.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4856, allocations: 4 kB / 480.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4856, allocations: 3.906 kB / 480.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4858, allocations: 202.2 kB / 480.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4858, allocations: 0 / 480.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.486, allocations: 15.98 kB / 480.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.486, allocations: 0 / 480.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.486, allocations: 0 / 480.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.486, allocations: 4 kB / 480.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.486, allocations: 0 / 480.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002218/0.4862, allocations: 207.4 kB / 480.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003723/0.4866, allocations: 0.5975 MB / 481.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.4867, allocations: 85.02 kB / 481.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.4867, allocations: 0 / 481.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.4868, allocations: 4 kB / 481.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.4868, allocations: 4.125 kB / 481.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4869, allocations: 7.984 kB / 481.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.45e-05/0.4869, allocations: 110.1 kB / 481.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009039/0.4879, allocations: 31.84 kB / 481.4 MB, free: 11.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001398/0.488, allocations: 95.23 kB / 481.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.4882, allocations: 67.88 kB / 481.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4882, allocations: 448 / 481.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.4882, allocations: 27.94 kB / 481.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.4885, allocations: 19.89 kB / 481.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.4892, allocations: 224.9 kB / 481.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.4895, allocations: 0.7387 MB / 482.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4895, allocations: 0 / 482.5 MB, free: 9.926 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Design_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)