Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.003038/0.003038, allocations: 178.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7026/0.7026, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.549/1.549, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009064/0.0009063, allocations: 98.72 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4506/0.4515, allocations: 88.42 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.6206, allocations: 82.31 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.523/5.144, allocations: 1.892 GB / 2.525 GB, free: 53.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/5.144, allocations: 91.42 kB / 2.525 GB, free: 53.22 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 2.519/7.663, allocations: 0.6157 GB / 3.141 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/7.663, allocations: 9.438 kB / 3.141 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009122/7.664, allocations: 193 kB / 3.141 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/7.665, allocations: 0.5458 MB / 3.141 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/7.665, allocations: 97.11 kB / 3.142 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/7.665, allocations: 40.11 kB / 3.142 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005473/7.666, allocations: 329.8 kB / 3.142 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/7.666, allocations: 0.636 MB / 3.143 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/7.666, allocations: 3.562 kB / 3.143 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/7.667, allocations: 3.75 kB / 3.143 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/7.667, allocations: 21.31 kB / 3.143 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/7.67, allocations: 4.089 MB / 3.147 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/7.67, allocations: 106.4 kB / 3.147 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/7.67, allocations: 77.61 kB / 3.147 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/7.67, allocations: 92.05 kB / 3.147 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/7.67, allocations: 44.06 kB / 3.147 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/7.67, allocations: 0 / 3.147 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004571/7.67, allocations: 161.3 kB / 3.147 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/7.67, allocations: 132.3 kB / 3.147 GB, free: 126 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/7.671, allocations: 456.2 kB / 3.148 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/7.671, allocations: 29.36 kB / 3.148 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/7.671, allocations: 355 kB / 3.148 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/7.671, allocations: 37.77 kB / 3.148 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/7.671, allocations: 0 / 3.148 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/7.671, allocations: 356.7 kB / 3.148 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/7.671, allocations: 82.48 kB / 3.148 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/7.672, allocations: 316 kB / 3.149 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/7.672, allocations: 142.2 kB / 3.149 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/7.672, allocations: 0 / 3.149 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005129/7.672, allocations: 375.8 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/7.672, allocations: 6.625 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/7.672, allocations: 13.25 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/7.673, allocations: 10.62 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/7.673, allocations: 93.69 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/7.673, allocations: 21.06 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/7.673, allocations: 99.55 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/7.673, allocations: 24.56 kB / 3.149 GB, free: 125 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.88e-05/7.674, allocations: 124.7 kB / 3.15 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/7.674, allocations: 50.97 kB / 3.15 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/7.674, allocations: 49.61 kB / 3.15 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/7.674, allocations: 5.562 kB / 3.15 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/7.674, allocations: 3.891 kB / 3.15 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/7.674, allocations: 3.188 kB / 3.15 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/7.675, allocations: 1.034 MB / 3.151 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/7.675, allocations: 0 / 3.151 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/7.675, allocations: 20.66 kB / 3.151 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/7.675, allocations: 7.625 kB / 3.151 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/7.675, allocations: 3.625 kB / 3.151 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/7.675, allocations: 3.906 kB / 3.151 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/7.675, allocations: 4.844 kB / 3.151 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002643/7.675, allocations: 343.2 kB / 3.151 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006346/7.676, allocations: 0.8003 MB / 3.152 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/7.676, allocations: 151.5 kB / 3.152 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/7.676, allocations: 1.562 kB / 3.152 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/7.676, allocations: 28.64 kB / 3.152 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/7.676, allocations: 13.19 kB / 3.152 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/7.676, allocations: 8.344 kB / 3.152 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003646/7.677, allocations: 342.1 kB / 3.152 GB, free: 123 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002112/7.679, allocations: 0.5035 MB / 3.153 GB, free: 123 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002652/7.682, allocations: 1.942 MB / 3.155 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003729/7.682, allocations: 192 kB / 3.155 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/7.682, allocations: 0 / 3.155 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/7.682, allocations: 47.41 kB / 3.155 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/7.683, allocations: 172.6 kB / 3.155 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/7.684, allocations: 0.707 MB / 3.156 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/7.685, allocations: 0.9931 MB / 3.157 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/7.685, allocations: 0 / 3.157 GB, free: 121.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)