Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.006367/0.006367, allocations: 181.6 kB / 7.456 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7379/0.7379, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.667/1.667, allocations: 221.3 MB / 395 MB, free: 10.23 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.001113/0.001113, allocations: 101.8 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5805/0.5816, allocations: 88.41 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.7899, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/2.11, allocations: 350.4 MB / 0.9755 GB, free: 266.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004015/2.111, allocations: 70.2 kB / 0.9755 GB, free: 266.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.03424/2.145, allocations: 13.27 MB / 0.9885 GB, free: 263.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.066e-05/2.145, allocations: 8.062 kB / 0.9885 GB, free: 263.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/2.145, allocations: 10.03 kB / 0.9885 GB, free: 263.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/2.145, allocations: 164.8 kB / 0.9887 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/2.145, allocations: 29.28 kB / 0.9887 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/2.145, allocations: 1.312 kB / 0.9887 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.633e-05/2.145, allocations: 10 kB / 0.9887 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/2.146, allocations: 49.94 kB / 0.9888 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/2.146, allocations: 0 / 0.9888 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/2.146, allocations: 3.906 kB / 0.9888 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/2.146, allocations: 1.828 kB / 0.9888 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/2.146, allocations: 307.8 kB / 0.9891 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/2.146, allocations: 37.16 kB / 0.9891 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/2.146, allocations: 5.422 kB / 0.9891 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-05/2.146, allocations: 87.94 kB / 0.9892 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/2.146, allocations: 32.36 kB / 0.9892 GB, free: 263 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/2.146, allocations: 0 / 0.9892 GB, free: 263 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002108/2.146, allocations: 32.92 kB / 0.9892 GB, free: 263 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/2.147, allocations: 52.98 kB / 0.9893 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/2.147, allocations: 95.33 kB / 0.9894 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/2.147, allocations: 26.73 kB / 0.9894 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/2.147, allocations: 90.16 kB / 0.9895 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/2.147, allocations: 4.469 kB / 0.9895 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/2.147, allocations: 0 / 0.9895 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/2.147, allocations: 317.4 kB / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/2.147, allocations: 6.188 kB / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/2.147, allocations: 14.89 kB / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.949e-05/2.147, allocations: 11.47 kB / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/2.147, allocations: 0 / 0.9898 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001136/2.147, allocations: 48.78 kB / 0.9899 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/2.147, allocations: 4.25 kB / 0.9899 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/2.147, allocations: 1.031 kB / 0.9899 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/2.147, allocations: 1.641 kB / 0.9899 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/2.147, allocations: 9.922 kB / 0.9899 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/2.147, allocations: 0.9688 kB / 0.9899 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/2.147, allocations: 5.5 kB / 0.9899 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/2.147, allocations: 1.156 kB / 0.9899 GB, free: 262.3 MB / 0.6823 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 6.609e-05/2.147, allocations: 107.4 kB / 0.99 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/2.147, allocations: 1.469 kB / 0.99 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/2.147, allocations: 118.9 kB / 0.9901 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/2.148, allocations: 186.9 kB / 0.9903 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-05/2.148, allocations: 176.8 kB / 0.9905 GB, free: 261.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.044e-05/2.148, allocations: 181.7 kB / 0.9906 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/2.148, allocations: 389.6 kB / 0.991 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/2.148, allocations: 105.6 kB / 0.9911 GB, free: 261 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/2.148, allocations: 103 kB / 0.9912 GB, free: 260.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.318e-05/2.148, allocations: 186.3 kB / 0.9914 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/2.148, allocations: 184.9 kB / 0.9916 GB, free: 260.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-05/2.148, allocations: 182.7 kB / 0.9917 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.502e-05/2.148, allocations: 181.8 kB / 0.9919 GB, free: 260.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001183/2.148, allocations: 302.2 kB / 0.9922 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002138/2.148, allocations: 0.6819 MB / 0.9929 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/2.149, allocations: 183.9 kB / 0.993 GB, free: 259 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/2.149, allocations: 180.2 kB / 0.9932 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/2.149, allocations: 109 kB / 0.9933 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/2.149, allocations: 184.7 kB / 0.9935 GB, free: 258.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/2.149, allocations: 106.1 kB / 0.9936 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.427e-05/2.149, allocations: 84.28 kB / 0.9937 GB, free: 258.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008938/2.15, allocations: 20.16 kB / 0.9937 GB, free: 258.3 MB / 0.6823 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.0002822/2.15, allocations: 208.5 kB / 0.9939 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.648e-05/2.15, allocations: 5.594 kB / 0.9939 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/2.15, allocations: 0 / 0.9939 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/2.15, allocations: 1.094 kB / 0.9939 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/2.15, allocations: 0.5353 MB / 0.9944 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/2.151, allocations: 125.2 kB / 0.9945 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/2.151, allocations: 0.6945 MB / 0.9952 GB, free: 256.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/2.151, allocations: 0 / 0.9952 GB, free: 256.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)