Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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/IBPSA 4.0.0-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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001198/0.001198, allocations: 179 kB / 7.796 MB, free: 1.199 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.479/0.479, allocations: 90.84 MB / 99.06 MB, free: 8.93 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.4 MB / 342.7 MB, free: 4.676 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009505/0.0009506, allocations: 90.58 kB / 415.5 MB, free: 14.2 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1898/0.1908, allocations: 78.47 MB / 494 MB, free: 7.465 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.6172, allocations: 72.31 MB / 0.553 GB, free: 61.95 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.597/1.214, allocations: 324.8 MB / 0.8702 GB, free: 81.61 MB / 0.5652 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.214, allocations: 89.19 kB / 0.8703 GB, free: 81.57 MB / 0.5652 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0278/1.242, allocations: 14.37 MB / 0.8843 GB, free: 70.23 MB / 0.5652 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.242, allocations: 8 kB / 0.8844 GB, free: 70.22 MB / 0.5652 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/1.242, allocations: 15.81 kB / 0.8844 GB, free: 70.21 MB / 0.5652 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/1.243, allocations: 178.9 kB / 0.8845 GB, free: 69.99 MB / 0.5652 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/1.243, allocations: 5.328 kB / 0.8845 GB, free: 69.99 MB / 0.5652 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/1.243, allocations: 8 kB / 0.8845 GB, free: 69.98 MB / 0.5652 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001756/1.243, allocations: 89.84 kB / 0.8846 GB, free: 69.92 MB / 0.5652 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/1.243, allocations: 76.61 kB / 0.8847 GB, free: 69.86 MB / 0.5652 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/1.243, allocations: 4 kB / 0.8847 GB, free: 69.86 MB / 0.5652 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.243, allocations: 4 kB / 0.8847 GB, free: 69.85 MB / 0.5652 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.243, allocations: 0 / 0.8847 GB, free: 69.85 MB / 0.5652 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/1.243, allocations: 393.2 kB / 0.8851 GB, free: 69.49 MB / 0.5652 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/1.244, allocations: 88.66 kB / 0.8852 GB, free: 69.42 MB / 0.5652 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/1.244, allocations: 48.08 kB / 0.8852 GB, free: 69.38 MB / 0.5652 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/1.244, allocations: 0.9212 MB / 0.8861 GB, free: 68.38 MB / 0.5652 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/1.244, allocations: 38.56 kB / 0.8862 GB, free: 68.33 MB / 0.5652 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/1.244, allocations: 0 / 0.8862 GB, free: 68.33 MB / 0.5652 GB Notification: Performance of matching and sorting (n=12): time 0.0004261/1.245, allocations: 143 kB / 0.8863 GB, free: 68.21 MB / 0.5652 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.387e-05/1.245, allocations: 51.41 kB / 0.8863 GB, free: 68.14 MB / 0.5652 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/1.245, allocations: 147.2 kB / 0.8865 GB, free: 68.01 MB / 0.5652 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/1.245, allocations: 25.7 kB / 0.8865 GB, free: 67.98 MB / 0.5652 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/1.245, allocations: 96.89 kB / 0.8866 GB, free: 67.89 MB / 0.5652 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/1.245, allocations: 40.7 kB / 0.8866 GB, free: 67.85 MB / 0.5652 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/1.245, allocations: 4 kB / 0.8866 GB, free: 67.85 MB / 0.5652 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/1.245, allocations: 324 kB / 0.887 GB, free: 67.53 MB / 0.5652 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/1.245, allocations: 50.11 kB / 0.887 GB, free: 67.5 MB / 0.5652 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.736e-05/1.245, allocations: 73.75 kB / 0.8871 GB, free: 67.43 MB / 0.5652 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/1.246, allocations: 139.5 kB / 0.8872 GB, free: 67.32 MB / 0.5652 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.246, allocations: 0 / 0.8872 GB, free: 67.32 MB / 0.5652 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006837/1.247, allocations: 278.8 kB / 0.8875 GB, free: 67.09 MB / 0.5652 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.247, allocations: 4 kB / 0.8875 GB, free: 67.09 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.247, allocations: 3.938 kB / 0.8875 GB, free: 67.09 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.247, allocations: 4 kB / 0.8875 GB, free: 67.08 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/1.247, allocations: 58.72 kB / 0.8875 GB, free: 67.03 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.247, allocations: 4 kB / 0.8875 GB, free: 67.02 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/1.247, allocations: 35.72 kB / 0.8876 GB, free: 66.99 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/1.247, allocations: 9.625 kB / 0.8876 GB, free: 66.98 MB / 0.5652 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 5.418e-05/1.247, allocations: 110 kB / 0.8877 GB, free: 66.87 MB / 0.5652 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/1.247, allocations: 11.81 kB / 0.8877 GB, free: 66.86 MB / 0.5652 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/1.248, allocations: 157.1 kB / 0.8878 GB, free: 66.73 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.248, allocations: 4 kB / 0.8879 GB, free: 66.73 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.248, allocations: 0 / 0.8879 GB, free: 66.73 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.248, allocations: 0 / 0.8879 GB, free: 66.73 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/1.248, allocations: 191.3 kB / 0.888 GB, free: 66.52 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.248, allocations: 0 / 0.888 GB, free: 66.52 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/1.248, allocations: 41.11 kB / 0.8881 GB, free: 66.48 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.248, allocations: 4 kB / 0.8881 GB, free: 66.48 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.248, allocations: 7.922 kB / 0.8881 GB, free: 66.47 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.248, allocations: 0 / 0.8881 GB, free: 66.47 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.248, allocations: 0 / 0.8881 GB, free: 66.47 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003351/1.248, allocations: 242.1 kB / 0.8883 GB, free: 66.25 MB / 0.5652 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003773/1.249, allocations: 0.6049 MB / 0.8889 GB, free: 65.65 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/1.249, allocations: 92.45 kB / 0.889 GB, free: 65.55 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/1.249, allocations: 0 / 0.889 GB, free: 65.55 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/1.249, allocations: 23.97 kB / 0.889 GB, free: 65.52 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/1.249, allocations: 9.422 kB / 0.889 GB, free: 65.52 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/1.249, allocations: 4 kB / 0.889 GB, free: 65.51 MB / 0.5652 GB Notification: Performance of sort global known variables: time 4.804e-05/1.249, allocations: 108.2 kB / 0.8891 GB, free: 65.42 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.0009246/1.25, allocations: 69.66 kB / 0.8892 GB, free: 65.36 MB / 0.5652 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0002414/1.25, allocations: 189.4 kB / 0.8894 GB, free: 65.17 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.0002113/1.251, allocations: 105.7 kB / 0.8895 GB, free: 65.1 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/1.251, allocations: 4 kB / 0.8895 GB, free: 65.09 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/1.251, allocations: 45.91 kB / 0.8895 GB, free: 65.06 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/1.251, allocations: 22.48 kB / 0.8896 GB, free: 65.05 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/1.251, allocations: 147.1 kB / 0.8897 GB, free: 64.89 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/1.251, allocations: 0.7351 MB / 0.8904 GB, free: 64.14 MB / 0.5652 GB Notification: Performance of SimCode: time 2.4e-07/1.251, allocations: 0 / 0.8904 GB, free: 64.14 MB / 0.5652 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)