Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",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.001009/0.001009, allocations: 190.9 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.4488/0.4488, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.214/1.214, allocations: 221.4 MB / 342.7 MB, free: 5.441 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.001006/0.001006, allocations: 89.17 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1513/0.1524, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.4538, allocations: 72.3 MB / 0.553 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.137/3.591, allocations: 1.891 GB / 2.444 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/3.591, allocations: 85.02 kB / 2.444 GB, free: 167.7 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.9309/4.522, allocations: 328.5 MB / 2.765 GB, free: 74.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/4.522, allocations: 12 kB / 2.765 GB, free: 74.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/4.526, allocations: 0.5823 MB / 2.765 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/4.53, allocations: 2.248 MB / 2.767 GB, free: 71.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/4.53, allocations: 52 kB / 2.767 GB, free: 71.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/4.53, allocations: 96 kB / 2.767 GB, free: 71.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00281/4.533, allocations: 1.888 MB / 2.769 GB, free: 69.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/4.536, allocations: 1.589 MB / 2.771 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/4.536, allocations: 0 / 2.771 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/4.536, allocations: 4 kB / 2.771 GB, free: 68.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/4.536, allocations: 44 kB / 2.771 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00907/4.545, allocations: 5.873 MB / 2.777 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/4.547, allocations: 1.822 MB / 2.778 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/4.548, allocations: 0.6713 MB / 2.779 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/4.549, allocations: 0.7528 MB / 2.78 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/4.55, allocations: 0.8569 MB / 2.781 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.346e-06/4.55, allocations: 0 / 2.781 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.003669/4.553, allocations: 1.605 MB / 2.782 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/4.553, allocations: 248.6 kB / 2.782 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/4.556, allocations: 2.338 MB / 2.785 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/4.556, allocations: 29.7 kB / 2.785 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/4.557, allocations: 0.569 MB / 2.785 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/4.557, allocations: 441.3 kB / 2.786 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/4.557, allocations: 4 kB / 2.786 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/4.557, allocations: 349.8 kB / 2.786 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/4.558, allocations: 490.4 kB / 2.787 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/4.559, allocations: 0.6865 MB / 2.787 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/4.559, allocations: 0.5674 MB / 2.788 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/4.559, allocations: 4 kB / 2.788 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003039/4.563, allocations: 1.523 MB / 2.789 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/4.563, allocations: 8 kB / 2.789 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/4.563, allocations: 0 / 2.789 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/4.564, allocations: 212.2 kB / 2.789 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/4.565, allocations: 303.6 kB / 2.79 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/4.57, allocations: 6.509 MB / 2.796 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/4.571, allocations: 123.2 kB / 2.796 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/4.572, allocations: 67.97 kB / 2.796 GB, free: 41.11 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 (131): * Single equations (assignments): 126 * 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.0003487/4.572, allocations: 132.6 kB / 2.796 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/4.572, allocations: 169.9 kB / 2.797 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/4.577, allocations: 2.02 MB / 2.799 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/4.577, allocations: 16 kB / 2.799 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/4.577, allocations: 3.906 kB / 2.799 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/4.577, allocations: 11.91 kB / 2.799 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/4.584, allocations: 3.864 MB / 2.802 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/4.584, allocations: 3.984 kB / 2.802 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/4.585, allocations: 311.6 kB / 2.803 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009766/4.586, allocations: 216.1 kB / 2.803 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/4.586, allocations: 23.97 kB / 2.803 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/4.591, allocations: 6.528 MB / 2.809 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/4.591, allocations: 0 / 2.809 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003348/4.594, allocations: 1.73 MB / 2.811 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003237/4.597, allocations: 2.198 MB / 2.813 GB, free: 23.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/4.599, allocations: 0.6583 MB / 2.814 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/4.599, allocations: 3.906 kB / 2.814 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/4.6, allocations: 107.8 kB / 2.814 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/4.601, allocations: 93.11 kB / 2.814 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/4.601, allocations: 83.95 kB / 2.814 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.002004/4.603, allocations: 1.819 MB / 2.816 GB, free: 20.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003085/4.606, allocations: 0.9191 MB / 2.817 GB, free: 19.47 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.002531/4.608, allocations: 1.73 MB / 2.818 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002319/4.611, allocations: 1.706 MB / 2.82 GB, free: 16.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/4.611, allocations: 0.6562 kB / 2.82 GB, free: 16.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/4.612, allocations: 1.208 MB / 2.821 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/4.614, allocations: 410.3 kB / 2.822 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/4.621, allocations: 2.911 MB / 2.824 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/4.623, allocations: 1.852 MB / 2.826 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/4.623, allocations: 0 / 2.826 GB, free: 9.789 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)