Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.003249/0.003249, allocations: 184.5 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7431/0.7431, 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.469/1.469, allocations: 221.3 MB / 395 MB, free: 10.15 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.001249/0.001249, allocations: 92.16 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5109/0.5122, allocations: 88.43 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.7074, allocations: 82.31 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6185/1.326, allocations: 112.8 MB / 0.7434 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.326, allocations: 82.66 kB / 0.7435 GB, free: 10.76 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01079/1.337, allocations: 3.565 MB / 0.747 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.337, allocations: 11.59 kB / 0.747 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/1.337, allocations: 32.02 kB / 0.747 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/1.338, allocations: 189 kB / 0.7472 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/1.338, allocations: 34.27 kB / 0.7473 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/1.338, allocations: 9.188 kB / 0.7473 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001439/1.338, allocations: 53.31 kB / 0.7473 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/1.338, allocations: 70.58 kB / 0.7474 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.338, allocations: 3.906 kB / 0.7474 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.338, allocations: 0 / 0.7474 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.338, allocations: 0 / 0.7474 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/1.339, allocations: 349.8 kB / 0.7477 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/1.339, allocations: 105.6 kB / 0.7478 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/1.339, allocations: 35.3 kB / 0.7479 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/1.339, allocations: 4.703 kB / 0.7479 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.339, allocations: 34.5 kB / 0.7479 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.339, allocations: 0 / 0.7479 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.00022/1.34, allocations: 72.61 kB / 0.748 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1.34, allocations: 55.22 kB / 0.748 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/1.34, allocations: 106.3 kB / 0.7481 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.34, allocations: 25.7 kB / 0.7481 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/1.34, allocations: 102.3 kB / 0.7482 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/1.34, allocations: 24.88 kB / 0.7483 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/1.34, allocations: 0 / 0.7483 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.34, allocations: 316.4 kB / 0.7486 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/1.34, allocations: 18.16 kB / 0.7486 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/1.34, allocations: 36.81 kB / 0.7486 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/1.34, allocations: 18.02 kB / 0.7486 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.34, allocations: 0 / 0.7486 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/1.34, allocations: 82.02 kB / 0.7487 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.34, allocations: 4.5 kB / 0.7487 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.34, allocations: 3.844 kB / 0.7487 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.34, allocations: 3.906 kB / 0.7487 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/1.34, allocations: 23.03 kB / 0.7487 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.34, allocations: 8.531 kB / 0.7487 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/1.34, allocations: 13.83 kB / 0.7488 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/1.341, allocations: 0 / 0.7488 GB, free: 24.83 MB / 0.5105 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/1.341, allocations: 105.5 kB / 0.7489 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/1.341, allocations: 7.688 kB / 0.7489 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/1.341, allocations: 13.25 kB / 0.7489 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.341, allocations: 7.891 kB / 0.7489 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.341, allocations: 0 / 0.7489 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.341, allocations: 0.7969 kB / 0.7489 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/1.341, allocations: 183.1 kB / 0.7491 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.341, allocations: 0.7031 kB / 0.7491 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/1.341, allocations: 18.33 kB / 0.7491 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.341, allocations: 4.531 kB / 0.7491 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.341, allocations: 3.906 kB / 0.7491 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.341, allocations: 0 / 0.7491 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.341, allocations: 0.6094 kB / 0.7491 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001645/1.341, allocations: 180.1 kB / 0.7493 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002987/1.342, allocations: 0.5334 MB / 0.7498 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/1.342, allocations: 81.58 kB / 0.7499 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/1.342, allocations: 0.6562 kB / 0.7499 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/1.342, allocations: 19.55 kB / 0.7499 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/1.342, allocations: 17.38 kB / 0.7499 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/1.342, allocations: 5.188 kB / 0.7499 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.521e-05/1.342, allocations: 88.69 kB / 0.75 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008413/1.343, allocations: 16.08 kB / 0.75 GB, free: 23.7 MB / 0.5105 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 (7): * Single equations (assignments): 7 * 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.000137/1.343, allocations: 104.8 kB / 0.7501 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001295/1.343, allocations: 52.62 kB / 0.7502 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.343, allocations: 0 / 0.7502 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/1.343, allocations: 22.5 kB / 0.7502 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/1.343, allocations: 19.16 kB / 0.7502 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/1.344, allocations: 137.4 kB / 0.7503 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/1.344, allocations: 0.713 MB / 0.751 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/1.344, allocations: 7.75 kB / 0.751 GB, free: 22.8 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)