Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.003668/0.003668, allocations: 181.6 kB / 7.457 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7231/0.7231, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009423, allocations: 95.2 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4813/0.4823, allocations: 88.44 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.6577, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/1.186, allocations: 112.5 MB / 0.7431 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.186, allocations: 78.73 kB / 0.7432 GB, free: 10.55 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01572/1.202, allocations: 5.378 MB / 0.7485 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.202, allocations: 7.25 kB / 0.7485 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/1.202, allocations: 12.81 kB / 0.7485 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/1.202, allocations: 192.4 kB / 0.7487 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/1.202, allocations: 3.906 kB / 0.7487 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.202, allocations: 3.875 kB / 0.7487 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/1.202, allocations: 23.84 kB / 0.7487 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/1.203, allocations: 49.42 kB / 0.7487 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/1.203, allocations: 0 / 0.7487 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.203, allocations: 0 / 0.7487 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/1.203, allocations: 4 kB / 0.7487 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/1.203, allocations: 278.5 kB / 0.749 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/1.203, allocations: 46.97 kB / 0.749 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/1.203, allocations: 18.86 kB / 0.7491 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/1.203, allocations: 0.6562 kB / 0.7491 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.203, allocations: 38.03 kB / 0.7491 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/1.203, allocations: 0.75 kB / 0.7491 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.000237/1.204, allocations: 59.88 kB / 0.7492 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.204, allocations: 51.41 kB / 0.7492 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.355e-05/1.204, allocations: 125.3 kB / 0.7493 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/1.204, allocations: 29.7 kB / 0.7494 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/1.204, allocations: 85.47 kB / 0.7494 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/1.204, allocations: 16.92 kB / 0.7495 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.204, allocations: 0 / 0.7495 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.204, allocations: 320 kB / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/1.204, allocations: 14.88 kB / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/1.204, allocations: 12.17 kB / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/1.204, allocations: 20.03 kB / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.204, allocations: 0 / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001453/1.204, allocations: 70.94 kB / 0.7499 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.204, allocations: 7.688 kB / 0.7499 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.204, allocations: 0.8594 kB / 0.7499 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.204, allocations: 3.906 kB / 0.7499 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/1.204, allocations: 19.28 kB / 0.7499 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.204, allocations: 0 / 0.7499 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/1.205, allocations: 13.7 kB / 0.7499 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/1.205, allocations: 0.8438 kB / 0.7499 GB, free: 24.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.671e-05/1.205, allocations: 108.5 kB / 0.75 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/1.205, allocations: 8.844 kB / 0.75 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/1.205, allocations: 82.8 kB / 0.7501 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.205, allocations: 3.906 kB / 0.7501 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.205, allocations: 0 / 0.7501 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.205, allocations: 0.75 kB / 0.7501 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/1.205, allocations: 159 kB / 0.7503 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.205, allocations: 0 / 0.7503 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/1.205, allocations: 14.67 kB / 0.7503 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.205, allocations: 4.625 kB / 0.7503 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/1.205, allocations: 4.609 kB / 0.7503 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.205, allocations: 0 / 0.7503 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.205, allocations: 0 / 0.7503 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001727/1.205, allocations: 177.5 kB / 0.7505 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003336/1.206, allocations: 0.5336 MB / 0.751 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/1.206, allocations: 85.75 kB / 0.7511 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/1.206, allocations: 0 / 0.7511 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.206, allocations: 9.141 kB / 0.7511 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/1.206, allocations: 10.8 kB / 0.7511 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/1.206, allocations: 4.031 kB / 0.7511 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.471e-05/1.206, allocations: 93.59 kB / 0.7512 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008176/1.207, allocations: 24.09 kB / 0.7512 GB, free: 23.42 MB / 0.5105 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 (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.0002284/1.207, allocations: 117.3 kB / 0.7513 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001226/1.207, allocations: 43.09 kB / 0.7513 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.207, allocations: 0 / 0.7513 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/1.207, allocations: 19.88 kB / 0.7514 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/1.208, allocations: 21.39 kB / 0.7514 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/1.208, allocations: 103.9 kB / 0.7515 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/1.208, allocations: 0.7142 MB / 0.7522 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.208, allocations: 0 / 0.7522 GB, free: 22.52 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)