Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.002579/0.002578, allocations: 179.9 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6647/0.6647, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.403/1.403, 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.0009624/0.0009623, allocations: 94.05 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3716/0.3726, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.5374, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.072/4.609, allocations: 1.834 GB / 2.467 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/4.609, allocations: 91.56 kB / 2.467 GB, free: 131.2 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.746/8.355, allocations: 0.982 GB / 3.449 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/8.355, allocations: 7.531 kB / 3.449 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/8.356, allocations: 193 kB / 3.45 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/8.358, allocations: 1.119 MB / 3.451 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/8.358, allocations: 18.47 kB / 3.451 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/8.359, allocations: 38.62 kB / 3.451 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007473/8.359, allocations: 488.8 kB / 3.451 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/8.36, allocations: 0.688 MB / 3.452 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/8.36, allocations: 5.906 kB / 3.452 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/8.36, allocations: 0 / 3.452 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/8.36, allocations: 17.47 kB / 3.452 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/8.364, allocations: 4.657 MB / 3.456 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/8.365, allocations: 448.2 kB / 3.457 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/8.365, allocations: 247 kB / 3.457 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/8.366, allocations: 194.8 kB / 3.457 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/8.366, allocations: 265.1 kB / 3.457 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.625e-06/8.366, allocations: 0 / 3.457 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001793/8.368, allocations: 0.7653 MB / 3.458 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/8.368, allocations: 85.75 kB / 3.458 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/8.369, allocations: 0.8755 MB / 3.459 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/8.369, allocations: 29.27 kB / 3.459 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/8.369, allocations: 338.6 kB / 3.46 GB, free: 181 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/8.369, allocations: 106.6 kB / 3.46 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/8.369, allocations: 0 / 3.46 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/8.37, allocations: 323.6 kB / 3.46 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/8.37, allocations: 187.8 kB / 3.46 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/8.37, allocations: 0.5058 MB / 3.461 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/8.371, allocations: 272.2 kB / 3.461 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/8.371, allocations: 1.75 kB / 3.461 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002371/8.373, allocations: 0.8919 MB / 3.462 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000553/8.374, allocations: 2.091 MB / 3.464 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/8.374, allocations: 5.656 kB / 3.464 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/8.375, allocations: 259.9 kB / 3.464 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/8.375, allocations: 68 kB / 3.464 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/8.377, allocations: 1.238 MB / 3.465 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/8.378, allocations: 87.14 kB / 3.465 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/8.378, allocations: 21.89 kB / 3.465 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/8.378, allocations: 5.344 kB / 3.465 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/8.38, allocations: 0.5834 MB / 3.466 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/8.38, allocations: 10.41 kB / 3.466 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/8.38, allocations: 209.2 kB / 3.466 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/8.381, allocations: 70.56 kB / 3.466 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/8.384, allocations: 2.758 MB / 3.469 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/8.385, allocations: 74.8 kB / 3.469 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/8.385, allocations: 23.48 kB / 3.469 GB, free: 174.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002399/8.386, allocations: 123 kB / 3.469 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/8.386, allocations: 101.4 kB / 3.469 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/8.387, allocations: 0.6539 MB / 3.47 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/8.387, allocations: 2.969 kB / 3.47 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/8.387, allocations: 5.062 kB / 3.47 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/8.387, allocations: 2.734 kB / 3.47 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/8.39, allocations: 1.469 MB / 3.471 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/8.39, allocations: 5.375 kB / 3.471 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/8.39, allocations: 24.2 kB / 3.471 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/8.391, allocations: 217 kB / 3.472 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/8.391, allocations: 3.812 kB / 3.472 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/8.392, allocations: 1.105 MB / 3.473 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/8.392, allocations: 0 / 3.473 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001066/8.393, allocations: 0.8488 MB / 3.473 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001232/8.394, allocations: 1.282 MB / 3.475 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/8.395, allocations: 218.2 kB / 3.475 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/8.395, allocations: 3.688 kB / 3.475 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/8.395, allocations: 57.98 kB / 3.475 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/8.395, allocations: 24.7 kB / 3.475 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/8.395, allocations: 8.844 kB / 3.475 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000915/8.396, allocations: 0.6891 MB / 3.476 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003839/8.4, allocations: 0.6667 MB / 3.476 GB, free: 170.9 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: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002044/8.402, allocations: 1.111 MB / 3.477 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002898/8.405, allocations: 1.031 MB / 3.478 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/8.405, allocations: 1.094 kB / 3.478 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/8.406, allocations: 266.8 kB / 3.479 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/8.408, allocations: 391.6 kB / 3.479 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/8.412, allocations: 1.391 MB / 3.48 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/8.413, allocations: 1.26 MB / 3.482 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/8.413, allocations: 0 / 3.482 GB, free: 168.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)