Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",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.003952/0.003952, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7183/0.7183, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.575/1.575, 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.001087/0.001087, allocations: 92.3 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4607/0.4619, allocations: 88.41 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.644, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.271/4.915, allocations: 1.828 GB / 2.461 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/4.916, allocations: 79.95 kB / 2.461 GB, free: 137.7 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.7851/5.701, allocations: 217.4 MB / 2.673 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/5.701, allocations: 9.312 kB / 2.673 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/5.701, allocations: 56.28 kB / 2.673 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/5.702, allocations: 292 kB / 2.674 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/5.702, allocations: 4.719 kB / 2.674 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/5.702, allocations: 13.25 kB / 2.674 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000323/5.702, allocations: 153.2 kB / 2.674 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/5.703, allocations: 206.3 kB / 2.674 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/5.703, allocations: 0 / 2.674 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/5.703, allocations: 0.9688 kB / 2.674 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/5.703, allocations: 9.922 kB / 2.674 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/5.704, allocations: 0.8482 MB / 2.675 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/5.705, allocations: 120.9 kB / 2.675 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/5.705, allocations: 102.8 kB / 2.675 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/5.705, allocations: 185.8 kB / 2.675 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/5.705, allocations: 43.95 kB / 2.675 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.975e-06/5.705, allocations: 3.984 kB / 2.675 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0007742/5.706, allocations: 222.1 kB / 2.675 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/5.706, allocations: 53.47 kB / 2.675 GB, free: 191 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/5.706, allocations: 155.6 kB / 2.676 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/5.706, allocations: 26.67 kB / 2.676 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/5.706, allocations: 133.6 kB / 2.676 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/5.706, allocations: 45.36 kB / 2.676 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/5.706, allocations: 0.9062 kB / 2.676 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/5.707, allocations: 323.4 kB / 2.676 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/5.707, allocations: 70.39 kB / 2.676 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/5.707, allocations: 117.9 kB / 2.676 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/5.707, allocations: 83.91 kB / 2.676 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.707, allocations: 0 / 2.676 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003183/5.707, allocations: 210.6 kB / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/5.707, allocations: 4 kB / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/5.707, allocations: 0 / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/5.707, allocations: 4 kB / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/5.708, allocations: 47.89 kB / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/5.708, allocations: 4 kB / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/5.708, allocations: 23.83 kB / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/5.708, allocations: 4 kB / 2.677 GB, free: 190 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.849e-05/5.708, allocations: 112.9 kB / 2.677 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/5.708, allocations: 19.81 kB / 2.677 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/5.708, allocations: 21.47 kB / 2.677 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/5.708, allocations: 0 / 2.677 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/5.708, allocations: 0 / 2.677 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/5.708, allocations: 7.984 kB / 2.677 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/5.709, allocations: 0.6463 MB / 2.677 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/5.709, allocations: 4 kB / 2.677 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/5.709, allocations: 43.91 kB / 2.677 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/5.709, allocations: 224 / 2.677 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/5.709, allocations: 11.98 kB / 2.677 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/5.709, allocations: 4 kB / 2.677 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.709, allocations: 4 kB / 2.677 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003418/5.71, allocations: 425 kB / 2.678 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000537/5.71, allocations: 0.832 MB / 2.679 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/5.71, allocations: 108.9 kB / 2.679 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/5.71, allocations: 12.06 kB / 2.679 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/5.711, allocations: 15.98 kB / 2.679 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/5.711, allocations: 7.984 kB / 2.679 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/5.711, allocations: 15.89 kB / 2.679 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.369e-05/5.711, allocations: 128.3 kB / 2.679 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001348/5.712, allocations: 203.8 kB / 2.679 GB, free: 187.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.001393/5.714, allocations: 1.011 MB / 2.68 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002972/5.714, allocations: 178.4 kB / 2.68 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/5.714, allocations: 0 / 2.68 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/5.714, allocations: 96.38 kB / 2.68 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/5.715, allocations: 75.88 kB / 2.68 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/5.715, allocations: 317.7 kB / 2.681 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/5.716, allocations: 0.7935 MB / 2.682 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/5.716, allocations: 0 / 2.682 GB, free: 184.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)