Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater") [: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.001274/0.001274, allocations: 191.1 kB / 7.806 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4324/0.4324, allocations: 90.84 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 221.4 MB / 342.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 98.98 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.953e-06, allocations: 4 kB / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3232, allocations: 72.3 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5632/0.8864, allocations: 393.4 MB / 0.9371 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.8867, allocations: 74.7 kB / 0.9371 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.02999/0.9167, allocations: 13.34 MB / 0.9502 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.9168, allocations: 7.875 kB / 0.9502 GB, free: 0.6055 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007076/0.9175, allocations: 0.5149 MB / 0.9507 GB, free: 56 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.9175, allocations: 8.031 kB / 0.9507 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.9177, allocations: 30.64 kB / 0.9507 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2685/1.186, allocations: 230 kB / 0.9509 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/1.186, allocations: 23.52 kB / 0.951 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/1.186, allocations: 10.81 kB / 0.951 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007455/1.187, allocations: 0.6173 MB / 0.9516 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/1.187, allocations: 223 kB / 0.9518 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.187, allocations: 0 / 0.9518 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/1.187, allocations: 0 / 0.9518 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.187, allocations: 3.969 kB / 0.9518 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/1.188, allocations: 272.3 kB / 0.952 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/1.188, allocations: 415.1 kB / 0.9524 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.188, allocations: 167.3 kB / 0.9526 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003555/1.189, allocations: 385.8 kB / 0.953 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/1.189, allocations: 42.97 kB / 0.953 GB, free: 171 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/1.189, allocations: 0 / 0.953 GB, free: 171 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.002859/1.192, allocations: 0.6916 MB / 0.9537 GB, free: 171 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/1.192, allocations: 62.03 kB / 0.9537 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/1.192, allocations: 113.8 kB / 0.9539 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.192, allocations: 25.7 kB / 0.9539 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/1.192, allocations: 84.08 kB / 0.954 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/1.192, allocations: 125.1 kB / 0.9541 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/1.192, allocations: 0 / 0.9541 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/1.192, allocations: 332.5 kB / 0.9544 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/1.192, allocations: 135 kB / 0.9545 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/1.192, allocations: 134.2 kB / 0.9546 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/1.195, allocations: 0.4904 MB / 0.9551 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.195, allocations: 0 / 0.9551 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002726/1.197, allocations: 0.6989 MB / 0.9558 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.197, allocations: 3.438 kB / 0.9558 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.197, allocations: 0 / 0.9558 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.197, allocations: 3.875 kB / 0.9558 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/1.198, allocations: 117.7 kB / 0.9559 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.198, allocations: 1.172 kB / 0.9559 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/1.198, allocations: 66.05 kB / 0.956 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/1.198, allocations: 13.28 kB / 0.956 GB, free: 170.3 MB / 0.6042 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 (37): * Single equations (assignments): 37 * 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.823e-05/1.198, allocations: 113.5 kB / 0.9561 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/1.198, allocations: 20.47 kB / 0.9561 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/1.201, allocations: 0.7602 MB / 0.9569 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.201, allocations: 3.875 kB / 0.9569 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.201, allocations: 0 / 0.9569 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.201, allocations: 3.891 kB / 0.9569 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/1.201, allocations: 280.6 kB / 0.9572 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.201, allocations: 3.938 kB / 0.9572 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/1.202, allocations: 116.1 kB / 0.9573 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/1.202, allocations: 3.5 kB / 0.9573 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/1.202, allocations: 9.469 kB / 0.9573 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.202, allocations: 0 / 0.9573 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.202, allocations: 0 / 0.9573 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002687/1.204, allocations: 0.7401 MB / 0.958 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/1.204, allocations: 98.53 kB / 0.9581 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/1.205, allocations: 7.719 kB / 0.9581 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.205, allocations: 49.3 kB / 0.9581 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.205, allocations: 83.86 kB / 0.9582 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/1.205, allocations: 12.64 kB / 0.9582 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.4e-05/1.205, allocations: 100.9 kB / 0.9583 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003513/1.205, allocations: 114.1 kB / 0.9584 GB, free: 169.7 MB / 0.6042 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 (37): * Single equations (assignments): 37 * 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.0004513/1.206, allocations: 240.7 kB / 0.9587 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004146/1.206, allocations: 350.3 kB / 0.959 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.206, allocations: 0 / 0.959 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/1.206, allocations: 201.8 kB / 0.9592 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/1.207, allocations: 61.62 kB / 0.9593 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/1.207, allocations: 312.8 kB / 0.9596 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/1.208, allocations: 0.7842 MB / 0.9603 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/1.208, allocations: 0 / 0.9603 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.008126/1.216, allocations: 6.079 MB / 0.9663 GB, free: 168.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)