Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.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.PressureDropsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries",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.003072/0.003072, allocations: 181.6 kB / 7.454 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.7027/0.7027, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.683/1.683, allocations: 221.4 MB / 395 MB, free: 10.13 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.001166/0.001166, allocations: 120.7 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5039/0.5052, allocations: 88.41 MB / 0.5529 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.7038, allocations: 82.3 MB / 0.6333 GB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.377/5.081, allocations: 1.83 GB / 2.463 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/5.081, allocations: 82.95 kB / 2.463 GB, free: 95.5 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 3.477/8.559, allocations: 0.9675 GB / 3.431 GB, free: 187 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/8.559, allocations: 8.875 kB / 3.431 GB, free: 187 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/8.56, allocations: 185.8 kB / 3.431 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/8.562, allocations: 1.082 MB / 3.432 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/8.562, allocations: 15.78 kB / 3.432 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/8.562, allocations: 33 kB / 3.432 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007964/8.563, allocations: 0.4978 MB / 3.433 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/8.564, allocations: 0.5742 MB / 3.433 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/8.564, allocations: 0 / 3.433 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/8.564, allocations: 1.719 kB / 3.433 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/8.564, allocations: 18.33 kB / 3.433 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/8.568, allocations: 3.333 MB / 3.437 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/8.569, allocations: 429.2 kB / 3.437 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/8.569, allocations: 246.2 kB / 3.437 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/8.57, allocations: 194.8 kB / 3.437 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/8.57, allocations: 38.7 kB / 3.437 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/8.57, allocations: 0 / 3.437 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001948/8.572, allocations: 0.7561 MB / 3.438 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/8.572, allocations: 54.09 kB / 3.438 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/8.573, allocations: 0.786 MB / 3.439 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/8.573, allocations: 30.77 kB / 3.439 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/8.573, allocations: 286.7 kB / 3.439 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/8.573, allocations: 97.84 kB / 3.439 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/8.573, allocations: 0 / 3.439 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/8.573, allocations: 317.2 kB / 3.44 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/8.573, allocations: 144.1 kB / 3.44 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/8.574, allocations: 344.7 kB / 3.44 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/8.574, allocations: 192.5 kB / 3.44 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/8.574, allocations: 0 / 3.44 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001502/8.575, allocations: 0.7388 MB / 3.441 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/8.576, allocations: 363 kB / 3.441 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/8.576, allocations: 0.9062 kB / 3.441 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004865/8.576, allocations: 237 kB / 3.442 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/8.576, allocations: 21.27 kB / 3.442 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/8.577, allocations: 1.128 MB / 3.443 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/8.578, allocations: 64.98 kB / 3.443 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/8.578, allocations: 21.5 kB / 3.443 GB, free: 179 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/8.578, allocations: 7.75 kB / 3.443 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/8.579, allocations: 448 kB / 3.443 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/8.58, allocations: 5.094 kB / 3.443 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/8.58, allocations: 206.7 kB / 3.443 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/8.58, allocations: 25.7 kB / 3.444 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/8.583, allocations: 2.763 MB / 3.446 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/8.584, allocations: 62.72 kB / 3.446 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/8.585, allocations: 8.344 kB / 3.446 GB, free: 176.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001771/8.585, allocations: 118.6 kB / 3.446 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/8.585, allocations: 87.38 kB / 3.446 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/8.586, allocations: 0.6618 MB / 3.447 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/8.586, allocations: 2.219 kB / 3.447 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/8.586, allocations: 0 / 3.447 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/8.586, allocations: 0 / 3.447 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/8.589, allocations: 1.382 MB / 3.448 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/8.589, allocations: 4.781 kB / 3.448 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/8.589, allocations: 25.8 kB / 3.449 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/8.589, allocations: 189.8 kB / 3.449 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/8.589, allocations: 3.156 kB / 3.449 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009301/8.59, allocations: 1.023 MB / 3.45 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/8.59, allocations: 1.969 kB / 3.45 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001136/8.591, allocations: 0.8315 MB / 3.451 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001287/8.593, allocations: 1.239 MB / 3.452 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/8.593, allocations: 208.4 kB / 3.452 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/8.593, allocations: 6.547 kB / 3.452 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/8.594, allocations: 51.98 kB / 3.452 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/8.594, allocations: 32.34 kB / 3.452 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/8.594, allocations: 8.344 kB / 3.452 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009686/8.595, allocations: 0.6295 MB / 3.453 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003115/8.598, allocations: 0.6351 MB / 3.453 GB, free: 171.6 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/8.599, allocations: 1.018 MB / 3.454 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001266/8.601, allocations: 0.683 MB / 3.455 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/8.601, allocations: 3.156 kB / 3.455 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/8.601, allocations: 186.3 kB / 3.455 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/8.603, allocations: 363.8 kB / 3.455 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/8.605, allocations: 1.354 MB / 3.457 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/8.606, allocations: 1.245 MB / 3.458 GB, free: 167 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/8.606, allocations: 0 / 3.458 GB, free: 167 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)