Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.001797/0.001797, allocations: 192.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4576/0.4576, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.223/1.223, 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.0009988/0.0009988, allocations: 103.4 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1729/0.1739, allocations: 78.44 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.5616, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6311/1.193, allocations: 385.9 MB / 0.9298 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.193, allocations: 87.86 kB / 0.9299 GB, free: 4.902 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 2.232/3.425, allocations: 0.6515 GB / 1.581 GB, free: 63.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/3.425, allocations: 7.438 kB / 1.581 GB, free: 63.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/3.427, allocations: 493.6 kB / 1.582 GB, free: 63.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/3.43, allocations: 1.318 MB / 1.583 GB, free: 62.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/3.43, allocations: 103.7 kB / 1.583 GB, free: 62.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/3.43, allocations: 48.34 kB / 1.583 GB, free: 62.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001122/3.431, allocations: 0.6277 MB / 1.584 GB, free: 62.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/3.433, allocations: 0.762 MB / 1.585 GB, free: 61.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/3.433, allocations: 3.938 kB / 1.585 GB, free: 61.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/3.433, allocations: 3.594 kB / 1.585 GB, free: 61.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/3.433, allocations: 28.09 kB / 1.585 GB, free: 61.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/3.439, allocations: 4.784 MB / 1.589 GB, free: 57.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/3.441, allocations: 0.6763 MB / 1.59 GB, free: 57.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/3.441, allocations: 197.1 kB / 1.59 GB, free: 57.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000523/3.442, allocations: 0.9073 MB / 1.591 GB, free: 56.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/3.442, allocations: 38.44 kB / 1.591 GB, free: 56.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 3.647e-06/3.442, allocations: 0 / 1.591 GB, free: 56.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.002886/3.445, allocations: 0.7758 MB / 1.592 GB, free: 56.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/3.445, allocations: 56.41 kB / 1.592 GB, free: 55.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/3.446, allocations: 0.7527 MB / 1.593 GB, free: 55.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/3.446, allocations: 25.7 kB / 1.593 GB, free: 55.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/3.446, allocations: 398 kB / 1.593 GB, free: 55.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.491e-05/3.446, allocations: 139.1 kB / 1.593 GB, free: 55.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/3.446, allocations: 0 / 1.593 GB, free: 55.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/3.446, allocations: 329.7 kB / 1.594 GB, free: 54.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/3.447, allocations: 173.3 kB / 1.594 GB, free: 54.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/3.447, allocations: 406.4 kB / 1.594 GB, free: 54.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/3.448, allocations: 262.5 kB / 1.594 GB, free: 54.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/3.448, allocations: 0 / 1.594 GB, free: 54.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001381/3.449, allocations: 0.7034 MB / 1.595 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003022/3.449, allocations: 1.663 MB / 1.597 GB, free: 52.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/3.449, allocations: 8.797 kB / 1.597 GB, free: 52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000671/3.45, allocations: 229.1 kB / 1.597 GB, free: 51.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/3.451, allocations: 125 kB / 1.597 GB, free: 51.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009453/3.452, allocations: 0.8859 MB / 1.598 GB, free: 51.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/3.453, allocations: 176.5 kB / 1.598 GB, free: 51.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/3.453, allocations: 34.59 kB / 1.598 GB, free: 51.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/3.453, allocations: 2.906 kB / 1.598 GB, free: 51.09 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/3.454, allocations: 0.5734 MB / 1.599 GB, free: 50.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/3.454, allocations: 6.938 kB / 1.599 GB, free: 50.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/3.455, allocations: 233.9 kB / 1.599 GB, free: 50.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/3.455, allocations: 117 kB / 1.599 GB, free: 50.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009348/3.456, allocations: 0.8713 MB / 1.6 GB, free: 49.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/3.457, allocations: 157.5 kB / 1.6 GB, free: 49.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/3.458, allocations: 30.02 kB / 1.6 GB, free: 49.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002085/3.458, allocations: 126.8 kB / 1.6 GB, free: 49.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/3.458, allocations: 100.5 kB / 1.6 GB, free: 49.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/3.46, allocations: 0.7436 MB / 1.601 GB, free: 49.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/3.46, allocations: 4.75 kB / 1.601 GB, free: 49.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/3.46, allocations: 0.5938 kB / 1.601 GB, free: 49.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/3.46, allocations: 4.578 kB / 1.601 GB, free: 49.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/3.464, allocations: 1.896 MB / 1.603 GB, free: 48.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/3.464, allocations: 6.688 kB / 1.603 GB, free: 48.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/3.465, allocations: 76.33 kB / 1.603 GB, free: 48.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000635/3.465, allocations: 241.1 kB / 1.603 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/3.465, allocations: 10.52 kB / 1.603 GB, free: 47.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/3.467, allocations: 0.9059 MB / 1.604 GB, free: 47.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/3.467, allocations: 6.781 kB / 1.604 GB, free: 47.23 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00298/3.47, allocations: 1.113 MB / 1.605 GB, free: 46.12 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003054/3.473, allocations: 1.556 MB / 1.607 GB, free: 44.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/3.473, allocations: 263.7 kB / 1.607 GB, free: 44.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/3.473, allocations: 0 / 1.607 GB, free: 44.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009187/3.474, allocations: 111.8 kB / 1.607 GB, free: 44.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/3.474, allocations: 31.95 kB / 1.607 GB, free: 44.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/3.474, allocations: 23.92 kB / 1.607 GB, free: 44.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008383/3.475, allocations: 0.5755 MB / 1.608 GB, free: 43.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00325/3.479, allocations: 0.81 MB / 1.608 GB, free: 42.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/3.48, allocations: 0.6687 MB / 1.609 GB, free: 42.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001615/3.481, allocations: 0.8038 MB / 1.61 GB, free: 41.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/3.481, allocations: 0 / 1.61 GB, free: 41.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/3.482, allocations: 275.1 kB / 1.61 GB, free: 41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/3.484, allocations: 365.7 kB / 1.61 GB, free: 40.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/3.488, allocations: 1.634 MB / 1.612 GB, free: 38.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/3.489, allocations: 1.163 MB / 1.613 GB, free: 37.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.273e-06/3.489, allocations: 0 / 1.613 GB, free: 37.77 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)