Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",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.00108/0.00108, allocations: 188.7 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.4646/0.4646, allocations: 90.85 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.317/1.317, allocations: 221.4 MB / 342.7 MB, free: 5.484 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.0009721/0.0009721, allocations: 99.59 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1651/0.1661, allocations: 78.45 MB / 494 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.5534, allocations: 72.3 MB / 0.553 GB, free: 44.82 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.662/4.215, allocations: 1.89 GB / 2.443 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/4.216, allocations: 83.95 kB / 2.443 GB, free: 169.3 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.9104/5.126, allocations: 320.7 MB / 2.756 GB, free: 84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/5.126, allocations: 8 kB / 2.756 GB, free: 84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/5.13, allocations: 0.5305 MB / 2.757 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/5.131, allocations: 0.9824 MB / 2.758 GB, free: 82.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/5.132, allocations: 52 kB / 2.758 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/5.132, allocations: 92 kB / 2.758 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002437/5.134, allocations: 1.677 MB / 2.76 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/5.136, allocations: 1.472 MB / 2.761 GB, free: 79.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/5.136, allocations: 7.938 kB / 2.761 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/5.137, allocations: 4 kB / 2.761 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/5.137, allocations: 40 kB / 2.761 GB, free: 79.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/5.143, allocations: 4.684 MB / 2.766 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/5.145, allocations: 1.493 MB / 2.767 GB, free: 72.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/5.146, allocations: 0.562 MB / 2.768 GB, free: 72.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008919/5.146, allocations: 1.136 MB / 2.769 GB, free: 70.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009586/5.147, allocations: 0.7295 MB / 2.77 GB, free: 70.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.166e-06/5.147, allocations: 0 / 2.77 GB, free: 70.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.0033/5.151, allocations: 1.317 MB / 2.771 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/5.151, allocations: 256.6 kB / 2.771 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/5.152, allocations: 0.6097 MB / 2.772 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-05/5.152, allocations: 33.7 kB / 2.772 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/5.152, allocations: 0.5075 MB / 2.772 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/5.152, allocations: 441.3 kB / 2.773 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/5.152, allocations: 0 / 2.773 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/5.152, allocations: 349.9 kB / 2.773 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/5.153, allocations: 378.5 kB / 2.773 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/5.154, allocations: 0.5309 MB / 2.774 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/5.154, allocations: 473.1 kB / 2.774 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/5.154, allocations: 4 kB / 2.774 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002561/5.157, allocations: 1.255 MB / 2.776 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/5.157, allocations: 4 kB / 2.776 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/5.157, allocations: 4 kB / 2.776 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/5.158, allocations: 200 kB / 2.776 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/5.159, allocations: 295.6 kB / 2.776 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/5.164, allocations: 6.462 MB / 2.782 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/5.165, allocations: 119.1 kB / 2.782 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/5.165, allocations: 55.95 kB / 2.782 GB, free: 56.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00029/5.165, allocations: 122.4 kB / 2.783 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/5.166, allocations: 118.6 kB / 2.783 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/5.169, allocations: 1.604 MB / 2.784 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/5.169, allocations: 16 kB / 2.784 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/5.169, allocations: 0 / 2.784 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/5.169, allocations: 7.969 kB / 2.784 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/5.174, allocations: 2.948 MB / 2.787 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/5.174, allocations: 0 / 2.787 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/5.176, allocations: 311.6 kB / 2.787 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/5.176, allocations: 184.1 kB / 2.788 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-05/5.177, allocations: 23.97 kB / 2.788 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/5.18, allocations: 6.505 MB / 2.794 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/5.18, allocations: 0 / 2.794 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002823/5.183, allocations: 1.435 MB / 2.795 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002899/5.186, allocations: 1.896 MB / 2.797 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007103/5.187, allocations: 399.1 kB / 2.798 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/5.187, allocations: 0 / 2.798 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/5.189, allocations: 103.8 kB / 2.798 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/5.189, allocations: 81.17 kB / 2.798 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/5.189, allocations: 63.95 kB / 2.798 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006633/5.19, allocations: 499 kB / 2.798 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003255/5.193, allocations: 0.782 MB / 2.799 GB, free: 38.24 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002905/5.196, allocations: 1.699 MB / 2.801 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002284/5.198, allocations: 1.561 MB / 2.802 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/5.198, allocations: 4.656 kB / 2.802 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/5.2, allocations: 1.123 MB / 2.803 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/5.202, allocations: 395.7 kB / 2.804 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006276/5.208, allocations: 2.199 MB / 2.806 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/5.21, allocations: 1.471 MB / 2.807 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of SimCode: time 8.91e-07/5.21, allocations: 0 / 2.807 GB, free: 29.91 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)