Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.004894/0.004894, allocations: 179.5 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.724/0.724, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.593/1.593, allocations: 221.3 MB / 395 MB, free: 10.2 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.001061/0.001061, allocations: 90.36 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4993/0.5004, allocations: 88.45 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.7069, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.555/1.262, allocations: 111.7 MB / 0.7424 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.262, allocations: 79.17 kB / 0.7425 GB, free: 10.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.007003/1.269, allocations: 2.506 MB / 0.7449 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.269, allocations: 11.53 kB / 0.7449 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/1.27, allocations: 18.95 kB / 0.7449 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/1.27, allocations: 163.1 kB / 0.7451 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.27, allocations: 0 / 0.7451 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/1.27, allocations: 3.844 kB / 0.7451 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.97e-05/1.27, allocations: 25.06 kB / 0.7451 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/1.27, allocations: 41.64 kB / 0.7452 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.27, allocations: 4 kB / 0.7452 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.27, allocations: 4.781 kB / 0.7452 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/1.27, allocations: 3.844 kB / 0.7452 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/1.27, allocations: 132.6 kB / 0.7453 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/1.27, allocations: 55.62 kB / 0.7453 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/1.27, allocations: 26.23 kB / 0.7454 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/1.27, allocations: 5.203 kB / 0.7454 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/1.27, allocations: 38.47 kB / 0.7454 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/1.27, allocations: 0 / 0.7454 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0001488/1.271, allocations: 59.48 kB / 0.7455 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/1.271, allocations: 59.28 kB / 0.7455 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.698e-05/1.271, allocations: 88.84 kB / 0.7456 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.271, allocations: 29.64 kB / 0.7456 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/1.271, allocations: 81.17 kB / 0.7457 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/1.271, allocations: 27.67 kB / 0.7457 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.271, allocations: 0 / 0.7457 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.271, allocations: 312.5 kB / 0.746 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/1.271, allocations: 7.344 kB / 0.746 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/1.271, allocations: 10.75 kB / 0.7461 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/1.271, allocations: 16.8 kB / 0.7461 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.271, allocations: 0 / 0.7461 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.019e-05/1.271, allocations: 56.48 kB / 0.7461 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.271, allocations: 6.344 kB / 0.7461 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.271, allocations: 7.906 kB / 0.7461 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/1.271, allocations: 0 / 0.7461 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/1.271, allocations: 18.75 kB / 0.7462 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/1.271, allocations: 3.844 kB / 0.7462 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/1.271, allocations: 0 / 0.7462 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.271, allocations: 1.641 kB / 0.7462 GB, free: 25.21 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 (6): * Single equations (assignments): 6 * 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.926e-05/1.271, allocations: 101 kB / 0.7463 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/1.271, allocations: 11.69 kB / 0.7463 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/1.272, allocations: 80.67 kB / 0.7463 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.272, allocations: 4.688 kB / 0.7464 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.272, allocations: 0 / 0.7464 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.272, allocations: 0 / 0.7464 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/1.272, allocations: 141.7 kB / 0.7465 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.272, allocations: 4 kB / 0.7465 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.272, allocations: 21.88 kB / 0.7465 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.272, allocations: 0 / 0.7465 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/1.272, allocations: 0.625 kB / 0.7465 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.272, allocations: 1.078 kB / 0.7465 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.272, allocations: 3.812 kB / 0.7465 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001004/1.272, allocations: 88.11 kB / 0.7466 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002312/1.272, allocations: 480.5 kB / 0.7471 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/1.272, allocations: 87.62 kB / 0.7471 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/1.272, allocations: 3.281 kB / 0.7471 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/1.272, allocations: 3.906 kB / 0.7471 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/1.272, allocations: 6.609 kB / 0.7472 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/1.272, allocations: 3.719 kB / 0.7472 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.29e-05/1.272, allocations: 79.28 kB / 0.7472 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007409/1.273, allocations: 7.562 kB / 0.7472 GB, free: 24.19 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.0001233/1.273, allocations: 103.7 kB / 0.7473 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.22e-05/1.273, allocations: 35.09 kB / 0.7474 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.273, allocations: 3.969 kB / 0.7474 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/1.274, allocations: 20.14 kB / 0.7474 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/1.274, allocations: 5.375 kB / 0.7474 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/1.274, allocations: 81.34 kB / 0.7475 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.274, allocations: 0.6996 MB / 0.7482 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.274, allocations: 0 / 0.7482 GB, free: 23.31 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)