Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="IDEAS_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.004495/0.004495, allocations: 186.3 kB / 7.459 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.7199/0.7199, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.787/1.787, allocations: 221.3 MB / 395 MB, free: 10.22 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.001132/0.001132, allocations: 99.16 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4888/0.4899, allocations: 88.43 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.6914, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.117/4.808, allocations: 1.89 GB / 2.523 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/4.809, allocations: 87.89 kB / 2.523 GB, free: 71.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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.953/7.762, allocations: 0.8024 GB / 3.326 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/7.762, allocations: 12 kB / 3.326 GB, free: 48.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/7.764, allocations: 267.6 kB / 3.326 GB, free: 48.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/7.767, allocations: 0.8179 MB / 3.327 GB, free: 47.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/7.767, allocations: 15.28 kB / 3.327 GB, free: 47.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/7.767, allocations: 36 kB / 3.327 GB, free: 47.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/7.768, allocations: 0.576 MB / 3.327 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/7.769, allocations: 0.5314 MB / 3.328 GB, free: 46.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/7.769, allocations: 3.984 kB / 3.328 GB, free: 46.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/7.769, allocations: 0 / 3.328 GB, free: 46.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/7.769, allocations: 12 kB / 3.328 GB, free: 46.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/7.773, allocations: 2.664 MB / 3.331 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/7.774, allocations: 483.7 kB / 3.331 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/7.775, allocations: 325.5 kB / 3.331 GB, free: 42.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000792/7.776, allocations: 0.6406 MB / 3.332 GB, free: 41.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/7.776, allocations: 42.88 kB / 3.332 GB, free: 41.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 3.347e-06/7.776, allocations: 0 / 3.332 GB, free: 41.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.00274/7.778, allocations: 0.9512 MB / 3.333 GB, free: 40.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/7.778, allocations: 55.41 kB / 3.333 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/7.779, allocations: 463.8 kB / 3.333 GB, free: 40.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/7.779, allocations: 25.7 kB / 3.333 GB, free: 40.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/7.779, allocations: 236.8 kB / 3.334 GB, free: 40.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/7.78, allocations: 153.6 kB / 3.334 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/7.78, allocations: 4 kB / 3.334 GB, free: 39.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/7.78, allocations: 378.8 kB / 3.334 GB, free: 39.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/7.78, allocations: 236.3 kB / 3.334 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/7.78, allocations: 351.8 kB / 3.335 GB, free: 38.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/7.781, allocations: 356.5 kB / 3.335 GB, free: 38.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/7.781, allocations: 0 / 3.335 GB, free: 38.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001449/7.783, allocations: 0.7995 MB / 3.336 GB, free: 37.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/7.783, allocations: 272.7 kB / 3.336 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/7.783, allocations: 0 / 3.336 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/7.783, allocations: 60.86 kB / 3.336 GB, free: 37.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/7.783, allocations: 103.8 kB / 3.336 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004973/7.784, allocations: 0.6461 MB / 3.337 GB, free: 36.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/7.785, allocations: 79.67 kB / 3.337 GB, free: 36.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/7.785, allocations: 23.98 kB / 3.337 GB, free: 36.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/7.785, allocations: 4 kB / 3.337 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/7.786, allocations: 0.6776 MB / 3.338 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/7.786, allocations: 0 / 3.338 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/7.786, allocations: 52.83 kB / 3.338 GB, free: 35.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/7.787, allocations: 107.9 kB / 3.338 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/7.789, allocations: 1.614 MB / 3.339 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/7.789, allocations: 79.69 kB / 3.34 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/7.79, allocations: 27.97 kB / 3.34 GB, free: 33.85 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.0002093/7.79, allocations: 114.2 kB / 3.34 GB, free: 33.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/7.79, allocations: 75.14 kB / 3.34 GB, free: 33.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/7.792, allocations: 0.847 MB / 3.341 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/7.792, allocations: 4 kB / 3.341 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/7.792, allocations: 0 / 3.341 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/7.792, allocations: 3.984 kB / 3.341 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/7.795, allocations: 1.675 MB / 3.342 GB, free: 31.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/7.795, allocations: 4 kB / 3.342 GB, free: 31.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/7.796, allocations: 96.3 kB / 3.342 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/7.796, allocations: 44.84 kB / 3.342 GB, free: 30.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/7.796, allocations: 11.98 kB / 3.342 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003886/7.796, allocations: 0.603 MB / 3.343 GB, free: 30.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/7.796, allocations: 8.062 kB / 3.343 GB, free: 30.24 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001746/7.798, allocations: 1.316 MB / 3.344 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002645/7.801, allocations: 2.124 MB / 3.346 GB, free: 26.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/7.801, allocations: 204.1 kB / 3.347 GB, free: 26.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/7.801, allocations: 11.89 kB / 3.347 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/7.802, allocations: 79.91 kB / 3.347 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/7.803, allocations: 47.8 kB / 3.347 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/7.803, allocations: 19.94 kB / 3.347 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005347/7.803, allocations: 363.2 kB / 3.347 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004381/7.808, allocations: 1.073 MB / 3.348 GB, free: 24.71 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.003406/7.811, allocations: 2.367 MB / 3.35 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001934/7.813, allocations: 0.9722 MB / 3.351 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/7.813, allocations: 0 / 3.351 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005026/7.813, allocations: 280 kB / 3.352 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/7.816, allocations: 451.1 kB / 3.352 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/7.822, allocations: 1.535 MB / 3.354 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009336/7.823, allocations: 1.076 MB / 3.355 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/7.823, allocations: 0 / 3.355 GB, free: 17.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)