Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.003051/0.003051, allocations: 186.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.6885/0.6885, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.438/1.438, allocations: 221.3 MB / 395 MB, free: 10.14 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.0009622, allocations: 106.4 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3942/0.3952, allocations: 88.42 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.5527, allocations: 82.3 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.148/4.7, allocations: 1.891 GB / 2.524 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/4.701, allocations: 87.95 kB / 2.524 GB, free: 70.32 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 2.792/7.493, allocations: 0.7991 GB / 3.323 GB, free: 49.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/7.493, allocations: 8 kB / 3.323 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/7.495, allocations: 271.3 kB / 3.323 GB, free: 49.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/7.497, allocations: 0.8017 MB / 3.324 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/7.497, allocations: 16 kB / 3.324 GB, free: 48.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/7.497, allocations: 32 kB / 3.324 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008252/7.498, allocations: 0.5604 MB / 3.325 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/7.498, allocations: 0.5276 MB / 3.325 GB, free: 47.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/7.499, allocations: 4 kB / 3.325 GB, free: 47.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/7.499, allocations: 3.906 kB / 3.325 GB, free: 47.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/7.499, allocations: 12 kB / 3.325 GB, free: 47.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/7.502, allocations: 2.903 MB / 3.328 GB, free: 44.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/7.503, allocations: 379.2 kB / 3.329 GB, free: 43.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/7.503, allocations: 261.4 kB / 3.329 GB, free: 43.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/7.504, allocations: 0.6408 MB / 3.329 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/7.504, allocations: 42.88 kB / 3.329 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.304e-06/7.504, allocations: 0 / 3.329 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.002086/7.506, allocations: 0.7641 MB / 3.33 GB, free: 42.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/7.506, allocations: 55.41 kB / 3.33 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/7.506, allocations: 459.7 kB / 3.331 GB, free: 41.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/7.506, allocations: 25.7 kB / 3.331 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/7.507, allocations: 256.5 kB / 3.331 GB, free: 41.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/7.507, allocations: 134 kB / 3.331 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/7.507, allocations: 4 kB / 3.331 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/7.507, allocations: 378.7 kB / 3.331 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/7.507, allocations: 188.7 kB / 3.332 GB, free: 40.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/7.507, allocations: 304.7 kB / 3.332 GB, free: 40.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/7.508, allocations: 303.5 kB / 3.332 GB, free: 39.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/7.508, allocations: 0 / 3.332 GB, free: 39.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000953/7.509, allocations: 0.6367 MB / 3.333 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/7.509, allocations: 4 kB / 3.333 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/7.509, allocations: 0 / 3.333 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/7.509, allocations: 4 kB / 3.333 GB, free: 39.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/7.509, allocations: 107.8 kB / 3.333 GB, free: 39.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/7.509, allocations: 12 kB / 3.333 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/7.51, allocations: 71.62 kB / 3.333 GB, free: 39.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/7.51, allocations: 23.98 kB / 3.333 GB, free: 39.13 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 9.992e-05/7.51, allocations: 108.9 kB / 3.333 GB, free: 39.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/7.51, allocations: 71.14 kB / 3.333 GB, free: 38.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/7.512, allocations: 0.6793 MB / 3.334 GB, free: 38.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/7.512, allocations: 4 kB / 3.334 GB, free: 38.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/7.512, allocations: 4 kB / 3.334 GB, free: 38.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/7.512, allocations: 4 kB / 3.334 GB, free: 38.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/7.514, allocations: 1.476 MB / 3.335 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/7.514, allocations: 7.391 kB / 3.335 GB, free: 36.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/7.514, allocations: 92.3 kB / 3.335 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/7.514, allocations: 4 kB / 3.335 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/7.514, allocations: 8 kB / 3.335 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/7.514, allocations: 11.94 kB / 3.335 GB, free: 36.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/7.514, allocations: 4 kB / 3.335 GB, free: 36.57 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001335/7.516, allocations: 1.193 MB / 3.337 GB, free: 35.24 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002017/7.518, allocations: 1.984 MB / 3.339 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/7.518, allocations: 196.1 kB / 3.339 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/7.518, allocations: 4 kB / 3.339 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/7.519, allocations: 55.94 kB / 3.339 GB, free: 32.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/7.519, allocations: 31.81 kB / 3.339 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/7.519, allocations: 20 kB / 3.339 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003688/7.519, allocations: 359.2 kB / 3.339 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002139/7.521, allocations: 0.6128 MB / 3.34 GB, free: 31.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.00276/7.524, allocations: 2.364 MB / 3.342 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00072/7.525, allocations: 460.1 kB / 3.343 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/7.525, allocations: 0 / 3.343 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/7.525, allocations: 261 kB / 3.343 GB, free: 28.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/7.527, allocations: 373.5 kB / 3.343 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/7.532, allocations: 1.478 MB / 3.345 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/7.533, allocations: 1.067 MB / 3.346 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.462e-06/7.533, allocations: 0 / 3.346 GB, free: 25.64 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)