Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.004452/0.004452, allocations: 183.2 kB / 7.461 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.756/0.756, 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.26 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.001041/0.001041, allocations: 94.03 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5122/0.5133, allocations: 88.43 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.7334, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5895/1.323, allocations: 111.3 MB / 0.742 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/1.323, allocations: 79.75 kB / 0.7421 GB, free: 10.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.007292/1.331, allocations: 2.428 MB / 0.7444 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.331, allocations: 11.62 kB / 0.7444 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/1.331, allocations: 7.656 kB / 0.7444 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.331, allocations: 168.4 kB / 0.7446 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/1.331, allocations: 34.89 kB / 0.7446 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/1.331, allocations: 0 / 0.7446 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001196/1.331, allocations: 27.02 kB / 0.7447 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/1.331, allocations: 56.36 kB / 0.7447 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.331, allocations: 0 / 0.7447 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/1.331, allocations: 0 / 0.7447 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.331, allocations: 4 kB / 0.7447 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/1.332, allocations: 284 kB / 0.745 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/1.332, allocations: 40.48 kB / 0.745 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/1.332, allocations: 17.02 kB / 0.745 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/1.332, allocations: 0 / 0.745 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.332, allocations: 34.5 kB / 0.7451 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/1.332, allocations: 0 / 0.7451 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001979/1.332, allocations: 55.61 kB / 0.7451 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/1.333, allocations: 51.41 kB / 0.7452 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.333, allocations: 102.4 kB / 0.7453 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/1.333, allocations: 29.55 kB / 0.7453 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/1.333, allocations: 85.73 kB / 0.7454 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/1.333, allocations: 13.03 kB / 0.7454 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/1.333, allocations: 3.844 kB / 0.7454 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.333, allocations: 319.9 kB / 0.7457 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/1.333, allocations: 6.531 kB / 0.7457 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/1.333, allocations: 24.34 kB / 0.7457 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/1.333, allocations: 13.09 kB / 0.7458 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.333, allocations: 0 / 0.7458 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.258e-05/1.333, allocations: 54.53 kB / 0.7458 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.333, allocations: 7.812 kB / 0.7458 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.333, allocations: 0 / 0.7458 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.333, allocations: 0 / 0.7458 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/1.333, allocations: 23.06 kB / 0.7458 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.333, allocations: 4.031 kB / 0.7458 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/1.333, allocations: 13.95 kB / 0.7459 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.333, allocations: 3.781 kB / 0.7459 GB, free: 25.04 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 (5): * Single equations (assignments): 5 * 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 7.966e-05/1.334, allocations: 101 kB / 0.746 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/1.334, allocations: 7.781 kB / 0.746 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/1.334, allocations: 8.906 kB / 0.746 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.334, allocations: 8.062 kB / 0.746 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.334, allocations: 4 kB / 0.746 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.334, allocations: 0 / 0.746 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.334, allocations: 158 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.334, allocations: 0 / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/1.334, allocations: 14.53 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.334, allocations: 0 / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/1.334, allocations: 0 / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.334, allocations: 4 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.334, allocations: 0 / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001221/1.334, allocations: 157.1 kB / 0.7463 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002568/1.334, allocations: 0.5136 MB / 0.7468 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/1.334, allocations: 88.89 kB / 0.7469 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/1.334, allocations: 4 kB / 0.7469 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/1.335, allocations: 16.8 kB / 0.7469 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/1.335, allocations: 1.828 kB / 0.7469 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/1.335, allocations: 3.844 kB / 0.7469 GB, free: 24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.48e-05/1.335, allocations: 87 kB / 0.747 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007772/1.335, allocations: 17.19 kB / 0.747 GB, free: 23.91 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.0001316/1.336, allocations: 94.78 kB / 0.7471 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000104/1.336, allocations: 30.38 kB / 0.7471 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.336, allocations: 0 / 0.7471 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/1.336, allocations: 14.91 kB / 0.7471 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/1.336, allocations: 4.688 kB / 0.7471 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/1.336, allocations: 84.45 kB / 0.7472 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/1.337, allocations: 0.7033 MB / 0.7479 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/1.337, allocations: 0 / 0.7479 GB, free: 23.04 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)