Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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/Buildings 8.0.0/package.mo): time 2.285/2.285, allocations: 284.8 MB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001657, allocations: 189.2 kB / 360.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.1 MB / 0.6187 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 87.28 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.271/0.2722, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.9313, allocations: 115.2 MB / 0.9627 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.987, allocations: 422.8 MB / 1.376 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.987, allocations: 68.2 kB / 1.376 GB, free: 145.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.07381/2.061, allocations: 17.75 MB / 1.393 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/2.061, allocations: 8 kB / 1.393 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/2.061, allocations: 11.91 kB / 1.393 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/2.061, allocations: 166.8 kB / 1.393 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/2.061, allocations: 29.7 kB / 1.393 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/2.061, allocations: 0 / 1.393 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.624e-05/2.062, allocations: 11.98 kB / 1.393 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.063e-05/2.062, allocations: 37.58 kB / 1.393 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/2.062, allocations: 0 / 1.393 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/2.062, allocations: 3.906 kB / 1.393 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/2.062, allocations: 3.984 kB / 1.393 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/2.062, allocations: 313.3 kB / 1.394 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.413e-05/2.062, allocations: 14.58 kB / 1.394 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/2.062, allocations: 10.45 kB / 1.394 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/2.062, allocations: 89.16 kB / 1.394 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/2.062, allocations: 34.5 kB / 1.394 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/2.062, allocations: 4 kB / 1.394 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001803/2.063, allocations: 29.7 kB / 1.394 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/2.063, allocations: 51.41 kB / 1.394 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/2.063, allocations: 108.4 kB / 1.394 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/2.063, allocations: 25.7 kB / 1.394 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/2.063, allocations: 84.05 kB / 1.394 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/2.063, allocations: 0 / 1.394 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/2.063, allocations: 0 / 1.394 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/2.063, allocations: 322.8 kB / 1.394 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/2.063, allocations: 3.312 kB / 1.394 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/2.063, allocations: 17.7 kB / 1.394 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.573e-05/2.063, allocations: 8 kB / 1.394 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/2.063, allocations: 0 / 1.394 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000139/2.063, allocations: 49.56 kB / 1.394 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/2.063, allocations: 5.25 kB / 1.394 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/2.063, allocations: 8.062 kB / 1.394 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/2.063, allocations: 7.922 kB / 1.394 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/2.063, allocations: 4 kB / 1.394 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/2.063, allocations: 1.875 kB / 1.394 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/2.063, allocations: 3.906 kB / 1.394 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/2.063, allocations: 4 kB / 1.394 GB, free: 130.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.595e-05/2.063, allocations: 104.8 kB / 1.395 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/2.063, allocations: 4.281 kB / 1.395 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/2.064, allocations: 120.9 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/2.064, allocations: 191.6 kB / 1.395 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.685e-05/2.064, allocations: 176.3 kB / 1.395 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/2.064, allocations: 176.3 kB / 1.395 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/2.064, allocations: 390.1 kB / 1.396 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/2.064, allocations: 105 kB / 1.396 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/2.064, allocations: 105 kB / 1.396 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.345e-05/2.064, allocations: 184.2 kB / 1.396 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/2.064, allocations: 180.3 kB / 1.396 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.492e-05/2.064, allocations: 184.1 kB / 1.396 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-05/2.064, allocations: 178.6 kB / 1.396 GB, free: 128 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001084/2.064, allocations: 311.4 kB / 1.397 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002576/2.065, allocations: 0.6729 MB / 1.397 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/2.065, allocations: 190 kB / 1.398 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/2.065, allocations: 176.3 kB / 1.398 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/2.065, allocations: 109 kB / 1.398 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/2.065, allocations: 184.9 kB / 1.398 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/2.065, allocations: 105 kB / 1.398 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.282e-05/2.065, allocations: 86.78 kB / 1.398 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001221/2.066, allocations: 19.88 kB / 1.398 GB, free: 126 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003017/2.067, allocations: 240.1 kB / 1.398 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/2.067, allocations: 8 kB / 1.398 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/2.067, allocations: 0 / 1.398 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/2.067, allocations: 10.22 kB / 1.398 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/2.067, allocations: 0.5238 MB / 1.399 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/2.067, allocations: 128 kB / 1.399 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/2.068, allocations: 0.6884 MB / 1.4 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/2.068, allocations: 4 kB / 1.4 GB, free: 124.4 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)