Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.003486/0.003486, allocations: 179.1 kB / 7.455 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.6974/0.6974, 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.426/1.426, allocations: 221.3 MB / 395 MB, free: 10.11 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.001051/0.001051, allocations: 113.4 kB / 477.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3968/0.3979, allocations: 88.41 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.5655, allocations: 82.3 MB / 0.6333 GB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.181/4.746, allocations: 1.89 GB / 2.523 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/4.747, allocations: 87.95 kB / 2.523 GB, free: 54.36 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.753/7.499, allocations: 0.8024 GB / 3.326 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/7.499, allocations: 8 kB / 3.326 GB, free: 33.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/7.501, allocations: 274.5 kB / 3.326 GB, free: 33.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/7.503, allocations: 0.808 MB / 3.327 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/7.503, allocations: 16 kB / 3.327 GB, free: 32.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/7.503, allocations: 35.91 kB / 3.327 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000971/7.504, allocations: 0.5721 MB / 3.327 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/7.505, allocations: 0.5315 MB / 3.328 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/7.505, allocations: 0 / 3.328 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/7.505, allocations: 7.984 kB / 3.328 GB, free: 31.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/7.505, allocations: 12 kB / 3.328 GB, free: 31.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/7.509, allocations: 2.646 MB / 3.331 GB, free: 28.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/7.509, allocations: 496.9 kB / 3.331 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/7.51, allocations: 329.5 kB / 3.331 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/7.511, allocations: 0.6367 MB / 3.332 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/7.511, allocations: 38.94 kB / 3.332 GB, free: 27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 4.137e-06/7.511, allocations: 0 / 3.332 GB, free: 27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002518/7.513, allocations: 0.9576 MB / 3.333 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/7.513, allocations: 55.41 kB / 3.333 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/7.514, allocations: 467.7 kB / 3.333 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/7.514, allocations: 29.64 kB / 3.334 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/7.514, allocations: 244.8 kB / 3.334 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/7.514, allocations: 149.7 kB / 3.334 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/7.514, allocations: 0 / 3.334 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/7.514, allocations: 382.7 kB / 3.334 GB, free: 24.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/7.514, allocations: 228.8 kB / 3.334 GB, free: 24.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/7.515, allocations: 351.8 kB / 3.335 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/7.515, allocations: 352.4 kB / 3.335 GB, free: 23.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/7.516, allocations: 0 / 3.335 GB, free: 23.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001357/7.517, allocations: 0.7995 MB / 3.336 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/7.517, allocations: 276.7 kB / 3.336 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/7.517, allocations: 7.375 kB / 3.336 GB, free: 22.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/7.517, allocations: 60.83 kB / 3.336 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/7.518, allocations: 91.86 kB / 3.336 GB, free: 22.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004398/7.518, allocations: 0.646 MB / 3.337 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/7.519, allocations: 79.67 kB / 3.337 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/7.519, allocations: 23.98 kB / 3.337 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/7.519, allocations: 8.625 kB / 3.337 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/7.52, allocations: 0.6698 MB / 3.338 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/7.52, allocations: 0 / 3.338 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/7.521, allocations: 68.83 kB / 3.338 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/7.521, allocations: 95.86 kB / 3.338 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/7.522, allocations: 1.618 MB / 3.339 GB, free: 19.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/7.523, allocations: 79.69 kB / 3.34 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/7.523, allocations: 19.98 kB / 3.34 GB, free: 19.03 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 (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001595/7.523, allocations: 116.8 kB / 3.34 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/7.524, allocations: 71.16 kB / 3.34 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/7.525, allocations: 0.8447 MB / 3.341 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/7.525, allocations: 4 kB / 3.341 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/7.525, allocations: 0 / 3.341 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/7.525, allocations: 3.984 kB / 3.341 GB, free: 17.97 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/7.528, allocations: 1.682 MB / 3.342 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/7.528, allocations: 4 kB / 3.342 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/7.528, allocations: 100.2 kB / 3.342 GB, free: 16.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/7.528, allocations: 44.84 kB / 3.342 GB, free: 16.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/7.528, allocations: 8 kB / 3.342 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003383/7.529, allocations: 0.607 MB / 3.343 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/7.529, allocations: 11.84 kB / 3.343 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001649/7.53, allocations: 1.312 MB / 3.344 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002365/7.533, allocations: 2.112 MB / 3.346 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/7.533, allocations: 208 kB / 3.347 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/7.533, allocations: 15.94 kB / 3.347 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/7.534, allocations: 91.98 kB / 3.347 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/7.534, allocations: 35.95 kB / 3.347 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/7.534, allocations: 15.98 kB / 3.347 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004199/7.535, allocations: 367.2 kB / 3.347 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003644/7.538, allocations: 1.066 MB / 3.348 GB, free: 9.898 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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002727/7.541, allocations: 2.372 MB / 3.35 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001484/7.543, allocations: 0.9674 MB / 3.351 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/7.543, allocations: 4 kB / 3.351 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/7.543, allocations: 284.9 kB / 3.352 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/7.545, allocations: 459.3 kB / 3.352 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/7.55, allocations: 1.535 MB / 3.354 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000669/7.551, allocations: 1.064 MB / 3.355 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/7.551, allocations: 0 / 3.355 GB, free: 2.992 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)