Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.002813/0.002813, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7157/0.7157, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.558/1.558, allocations: 221.3 MB / 395 MB, free: 10.16 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.001005/0.001005, allocations: 99.02 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5014/0.5024, allocations: 88.44 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.7051, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6206/1.326, allocations: 112.2 MB / 0.7429 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.326, allocations: 78.61 kB / 0.743 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.009274/1.335, allocations: 2.737 MB / 0.7456 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/1.336, allocations: 7.688 kB / 0.7456 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/1.336, allocations: 11.66 kB / 0.7457 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/1.336, allocations: 160.2 kB / 0.7458 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/1.336, allocations: 34.56 kB / 0.7458 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/1.336, allocations: 0 / 0.7458 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.328e-05/1.336, allocations: 15.78 kB / 0.7459 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.063e-05/1.336, allocations: 44.98 kB / 0.7459 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.336, allocations: 0 / 0.7459 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.336, allocations: 0 / 0.7459 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.336, allocations: 0 / 0.7459 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/1.336, allocations: 133.7 kB / 0.746 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/1.337, allocations: 42.28 kB / 0.7461 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/1.337, allocations: 12.48 kB / 0.7461 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/1.337, allocations: 188.4 kB / 0.7463 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/1.337, allocations: 30.56 kB / 0.7463 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/1.337, allocations: 4 kB / 0.7463 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0005616/1.338, allocations: 110.8 kB / 0.7464 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.338, allocations: 51.41 kB / 0.7464 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/1.338, allocations: 93.89 kB / 0.7465 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/1.338, allocations: 25.7 kB / 0.7466 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/1.338, allocations: 81.5 kB / 0.7466 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/1.338, allocations: 14.75 kB / 0.7466 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/1.338, allocations: 3.781 kB / 0.7467 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.338, allocations: 316.1 kB / 0.747 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/1.338, allocations: 7.438 kB / 0.747 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/1.338, allocations: 4.578 kB / 0.747 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/1.338, allocations: 59.45 kB / 0.747 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.338, allocations: 0 / 0.747 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003937/1.339, allocations: 110.6 kB / 0.7471 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.339, allocations: 3.906 kB / 0.7471 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.339, allocations: 0 / 0.7471 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.339, allocations: 3.906 kB / 0.7471 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/1.339, allocations: 13.17 kB / 0.7471 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.339, allocations: 1.359 kB / 0.7471 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/1.339, allocations: 0 / 0.7471 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/1.339, allocations: 5.156 kB / 0.7472 GB, free: 24.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 0.0001267/1.339, allocations: 102.5 kB / 0.7473 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/1.339, allocations: 3.906 kB / 0.7473 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/1.34, allocations: 116.1 kB / 0.7474 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.34, allocations: 4 kB / 0.7474 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.34, allocations: 0 / 0.7474 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.34, allocations: 1.219 kB / 0.7474 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/1.34, allocations: 139.8 kB / 0.7475 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.34, allocations: 7.812 kB / 0.7475 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/1.34, allocations: 6.266 kB / 0.7475 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.34, allocations: 0 / 0.7475 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.34, allocations: 3.875 kB / 0.7475 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/1.34, allocations: 2.125 kB / 0.7475 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.34, allocations: 0 / 0.7475 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004346/1.34, allocations: 133.2 kB / 0.7476 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007103/1.341, allocations: 0.4986 MB / 0.7481 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/1.341, allocations: 87.23 kB / 0.7482 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/1.341, allocations: 0.5625 kB / 0.7482 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/1.341, allocations: 4.656 kB / 0.7482 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/1.341, allocations: 17.86 kB / 0.7482 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/1.341, allocations: 0 / 0.7482 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.436e-05/1.341, allocations: 79.78 kB / 0.7483 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008215/1.342, allocations: 39.8 kB / 0.7484 GB, free: 23.86 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 (4): * Single equations (assignments): 4 * 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.0003734/1.342, allocations: 146.9 kB / 0.7485 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001139/1.343, allocations: 16.81 kB / 0.7485 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.343, allocations: 10.97 kB / 0.7485 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/1.343, allocations: 12.55 kB / 0.7485 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/1.343, allocations: 4.812 kB / 0.7485 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/1.343, allocations: 55.55 kB / 0.7486 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.344, allocations: 0.695 MB / 0.7493 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.344, allocations: 0 / 0.7493 GB, free: 22.98 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)