Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="IDEAS_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.004756/0.004757, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.486/1.486, allocations: 221.4 MB / 395 MB, free: 10.19 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.001071/0.001071, allocations: 106.6 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4859/0.487, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.6888, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.508/5.196, allocations: 1.83 GB / 2.463 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/5.197, allocations: 87.89 kB / 2.464 GB, free: 133.2 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.743/8.94, allocations: 0.9675 GB / 3.431 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/8.94, allocations: 11.53 kB / 3.431 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/8.941, allocations: 182.4 kB / 3.431 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/8.943, allocations: 1.086 MB / 3.432 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/8.943, allocations: 19.34 kB / 3.432 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/8.943, allocations: 36.53 kB / 3.432 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007369/8.944, allocations: 0.4906 MB / 3.433 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008739/8.945, allocations: 0.58 MB / 3.433 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/8.945, allocations: 3.531 kB / 3.433 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/8.945, allocations: 0 / 3.433 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/8.945, allocations: 18.58 kB / 3.433 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/8.949, allocations: 3.323 MB / 3.437 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/8.949, allocations: 432.9 kB / 3.437 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/8.949, allocations: 252.7 kB / 3.437 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/8.95, allocations: 194.6 kB / 3.437 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/8.95, allocations: 38.42 kB / 3.437 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/8.95, allocations: 0 / 3.437 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001819/8.952, allocations: 0.7498 MB / 3.438 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/8.952, allocations: 55.38 kB / 3.438 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/8.953, allocations: 0.7907 MB / 3.439 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/8.953, allocations: 25.7 kB / 3.439 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/8.953, allocations: 284 kB / 3.439 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/8.953, allocations: 101.9 kB / 3.439 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/8.953, allocations: 0 / 3.439 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/8.953, allocations: 318 kB / 3.44 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/8.953, allocations: 146 kB / 3.44 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/8.954, allocations: 340 kB / 3.44 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/8.954, allocations: 206 kB / 3.44 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/8.954, allocations: 0 / 3.44 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001358/8.955, allocations: 0.7346 MB / 3.441 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/8.955, allocations: 356.8 kB / 3.441 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/8.955, allocations: 3.938 kB / 3.441 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/8.956, allocations: 223.8 kB / 3.442 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/8.956, allocations: 27.58 kB / 3.442 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/8.957, allocations: 1.131 MB / 3.443 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/8.958, allocations: 63.28 kB / 3.443 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/8.958, allocations: 18.56 kB / 3.443 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/8.958, allocations: 7.875 kB / 3.443 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009006/8.959, allocations: 440.1 kB / 3.443 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/8.959, allocations: 7.844 kB / 3.443 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/8.959, allocations: 205.6 kB / 3.443 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/8.96, allocations: 24.72 kB / 3.444 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/8.963, allocations: 2.76 MB / 3.446 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/8.964, allocations: 67.69 kB / 3.446 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/8.964, allocations: 10.09 kB / 3.446 GB, free: 178.3 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.0001493/8.964, allocations: 115.5 kB / 3.446 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/8.964, allocations: 82.41 kB / 3.446 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/8.965, allocations: 0.6671 MB / 3.447 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/8.965, allocations: 3.906 kB / 3.447 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/8.965, allocations: 0 / 3.447 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/8.965, allocations: 12.05 kB / 3.447 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/8.967, allocations: 1.372 MB / 3.448 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/8.967, allocations: 3.938 kB / 3.448 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/8.968, allocations: 36.88 kB / 3.449 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/8.968, allocations: 186.7 kB / 3.449 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/8.968, allocations: 7.469 kB / 3.449 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007973/8.969, allocations: 1.015 MB / 3.45 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/8.969, allocations: 4.688 kB / 3.45 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009757/8.97, allocations: 0.828 MB / 3.451 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001149/8.971, allocations: 1.246 MB / 3.452 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/8.971, allocations: 211.9 kB / 3.452 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/8.971, allocations: 7.594 kB / 3.452 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/8.972, allocations: 54.72 kB / 3.452 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/8.972, allocations: 21.55 kB / 3.452 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/8.972, allocations: 9.312 kB / 3.452 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008101/8.973, allocations: 0.6309 MB / 3.453 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002982/8.976, allocations: 0.6292 MB / 3.453 GB, free: 175.7 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.001464/8.977, allocations: 1.015 MB / 3.454 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001286/8.979, allocations: 0.6859 MB / 3.455 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/8.979, allocations: 0 / 3.455 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/8.979, allocations: 192 kB / 3.455 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/8.981, allocations: 366.8 kB / 3.455 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/8.983, allocations: 1.354 MB / 3.457 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008637/8.984, allocations: 1.246 MB / 3.458 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/8.984, allocations: 0 / 3.458 GB, free: 174.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)