Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="IDEAS_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.003522/0.003522, allocations: 182.6 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7023/0.7023, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.589/1.589, allocations: 221.3 MB / 395 MB, free: 10.21 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.001066/0.001065, allocations: 98.98 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4706/0.4717, allocations: 88.42 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.6558, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.301/4.957, allocations: 1.891 GB / 2.524 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/4.957, allocations: 87.95 kB / 2.524 GB, free: 72.06 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.785/7.742, allocations: 0.7991 GB / 3.323 GB, free: 53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/7.742, allocations: 16 kB / 3.323 GB, free: 52.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/7.744, allocations: 272.3 kB / 3.323 GB, free: 52.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/7.746, allocations: 0.8092 MB / 3.324 GB, free: 51.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/7.746, allocations: 20 kB / 3.324 GB, free: 51.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/7.746, allocations: 32 kB / 3.324 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000862/7.747, allocations: 0.5565 MB / 3.325 GB, free: 51.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008029/7.748, allocations: 0.5198 MB / 3.325 GB, free: 50.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/7.748, allocations: 0 / 3.325 GB, free: 50.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/7.748, allocations: 3.906 kB / 3.325 GB, free: 50.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/7.748, allocations: 12 kB / 3.325 GB, free: 50.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/7.752, allocations: 2.911 MB / 3.328 GB, free: 47.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/7.752, allocations: 376.7 kB / 3.329 GB, free: 47.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/7.752, allocations: 262.3 kB / 3.329 GB, free: 47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/7.753, allocations: 0.644 MB / 3.329 GB, free: 46.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/7.753, allocations: 34.89 kB / 3.329 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 4.037e-06/7.753, allocations: 4 kB / 3.329 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.002104/7.755, allocations: 0.7641 MB / 3.33 GB, free: 45.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/7.755, allocations: 55.41 kB / 3.33 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/7.756, allocations: 462.7 kB / 3.331 GB, free: 44.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/7.756, allocations: 29.7 kB / 3.331 GB, free: 44.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/7.756, allocations: 260.5 kB / 3.331 GB, free: 44.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/7.756, allocations: 130 kB / 3.331 GB, free: 44.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/7.756, allocations: 0 / 3.331 GB, free: 44.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/7.756, allocations: 382.7 kB / 3.331 GB, free: 44.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/7.757, allocations: 184.7 kB / 3.332 GB, free: 43.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/7.757, allocations: 305.7 kB / 3.332 GB, free: 43.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/7.758, allocations: 304.2 kB / 3.332 GB, free: 43.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/7.758, allocations: 0 / 3.332 GB, free: 43.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009783/7.759, allocations: 0.6297 MB / 3.333 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/7.759, allocations: 4 kB / 3.333 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/7.759, allocations: 4 kB / 3.333 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/7.759, allocations: 4 kB / 3.333 GB, free: 42.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/7.759, allocations: 108 kB / 3.333 GB, free: 42.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/7.759, allocations: 3.938 kB / 3.333 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/7.76, allocations: 71.69 kB / 3.333 GB, free: 42.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/7.76, allocations: 19.97 kB / 3.333 GB, free: 42.41 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 0.0001175/7.76, allocations: 120.9 kB / 3.333 GB, free: 42.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/7.76, allocations: 71.09 kB / 3.333 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/7.761, allocations: 0.6793 MB / 3.334 GB, free: 41.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/7.762, allocations: 4 kB / 3.334 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/7.762, allocations: 2.953 kB / 3.334 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/7.762, allocations: 3.984 kB / 3.334 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/7.764, allocations: 1.476 MB / 3.335 GB, free: 39.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/7.764, allocations: 0 / 3.335 GB, free: 39.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/7.764, allocations: 91.89 kB / 3.335 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/7.764, allocations: 4 kB / 3.335 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/7.764, allocations: 12.14 kB / 3.335 GB, free: 39.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/7.764, allocations: 11.94 kB / 3.335 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.764, allocations: 4 kB / 3.335 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001384/7.766, allocations: 1.197 MB / 3.337 GB, free: 38.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002107/7.768, allocations: 1.984 MB / 3.339 GB, free: 36.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/7.768, allocations: 192.1 kB / 3.339 GB, free: 36.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/7.768, allocations: 4 kB / 3.339 GB, free: 36.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/7.769, allocations: 51.94 kB / 3.339 GB, free: 36.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/7.769, allocations: 43.8 kB / 3.339 GB, free: 36.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/7.769, allocations: 16 kB / 3.339 GB, free: 36.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004271/7.77, allocations: 358.7 kB / 3.339 GB, free: 35.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002125/7.772, allocations: 0.6128 MB / 3.34 GB, free: 35.11 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.002814/7.775, allocations: 2.356 MB / 3.342 GB, free: 32.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007494/7.775, allocations: 468 kB / 3.343 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/7.775, allocations: 320 / 3.343 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/7.776, allocations: 256 kB / 3.343 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/7.778, allocations: 385.2 kB / 3.343 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/7.783, allocations: 1.478 MB / 3.345 GB, free: 30 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/7.784, allocations: 1.054 MB / 3.346 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/7.784, allocations: 0 / 3.346 GB, free: 28.91 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)