Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.001395/0.001395, allocations: 187.6 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5007/0.5007, allocations: 90.85 MB / 99.08 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.301/1.301, allocations: 221.4 MB / 342.8 MB, free: 5.285 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.001071/0.001071, allocations: 98.67 kB / 415.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1823/0.1834, allocations: 78.44 MB / 494 MB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.601, allocations: 72.3 MB / 0.553 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.678/4.279, allocations: 1.891 GB / 2.444 GB, free: 184.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/4.279, allocations: 93.53 kB / 2.444 GB, free: 184.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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.3073/4.586, allocations: 154.7 MB / 2.595 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/4.586, allocations: 11.98 kB / 2.595 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/4.588, allocations: 286.1 kB / 2.595 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/4.59, allocations: 0.8226 MB / 2.596 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/4.59, allocations: 28 kB / 2.596 GB, free: 26.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/4.59, allocations: 55.98 kB / 2.596 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001847/4.592, allocations: 1.155 MB / 2.597 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/4.594, allocations: 0.8677 MB / 2.598 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/4.594, allocations: 0 / 2.598 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/4.594, allocations: 0 / 2.598 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/4.594, allocations: 24 kB / 2.598 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005045/4.599, allocations: 3.012 MB / 2.601 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/4.6, allocations: 0.8988 MB / 2.602 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/4.601, allocations: 342.1 kB / 2.602 GB, free: 20.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/4.601, allocations: 219 kB / 2.602 GB, free: 19.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006348/4.602, allocations: 483.7 kB / 2.603 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 3.476e-06/4.602, allocations: 3.938 kB / 2.603 GB, free: 19.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.002178/4.604, allocations: 0.835 MB / 2.604 GB, free: 18.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/4.604, allocations: 248.1 kB / 2.604 GB, free: 18.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/4.605, allocations: 0.7187 MB / 2.605 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/4.605, allocations: 29.64 kB / 2.605 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/4.605, allocations: 344.2 kB / 2.605 GB, free: 17.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/4.605, allocations: 267.9 kB / 2.605 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/4.605, allocations: 0 / 2.605 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/4.606, allocations: 337.9 kB / 2.605 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/4.606, allocations: 249.5 kB / 2.606 GB, free: 16.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/4.606, allocations: 386.1 kB / 2.606 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/4.607, allocations: 313.6 kB / 2.606 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/4.607, allocations: 3.984 kB / 2.606 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001828/4.609, allocations: 0.8312 MB / 2.607 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/4.609, allocations: 8 kB / 2.607 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/4.609, allocations: 0 / 2.607 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/4.61, allocations: 117.7 kB / 2.607 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/4.61, allocations: 179.8 kB / 2.608 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/4.613, allocations: 2.725 MB / 2.61 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/4.614, allocations: 87.48 kB / 2.61 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/4.614, allocations: 39.92 kB / 2.61 GB, free: 11.34 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 (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002046/4.614, allocations: 120.1 kB / 2.61 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/4.614, allocations: 94.86 kB / 2.61 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/4.617, allocations: 1.136 MB / 2.612 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/4.617, allocations: 11.94 kB / 2.612 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/4.617, allocations: 0 / 2.612 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/4.617, allocations: 3.984 kB / 2.612 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/4.621, allocations: 2.105 MB / 2.614 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/4.621, allocations: 0 / 2.614 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008572/4.622, allocations: 187.8 kB / 2.614 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006542/4.622, allocations: 113.6 kB / 2.614 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/4.622, allocations: 15.98 kB / 2.614 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/4.625, allocations: 2.741 MB / 2.617 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/4.625, allocations: 4 kB / 2.617 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001957/4.627, allocations: 1.007 MB / 2.618 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00215/4.629, allocations: 1.437 MB / 2.619 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/4.629, allocations: 339.5 kB / 2.619 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/4.63, allocations: 12.06 kB / 2.619 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/4.631, allocations: 75.92 kB / 2.619 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/4.631, allocations: 60.91 kB / 2.62 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/4.631, allocations: 35.98 kB / 2.62 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007502/4.632, allocations: 0.5772 MB / 2.62 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002508/4.634, allocations: 0.5965 MB / 2.621 GB, free: 320 kB / 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 (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.2254/4.86, allocations: 1.379 MB / 2.622 GB, free: 206.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001838/4.861, allocations: 0.8896 MB / 2.623 GB, free: 206.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/4.861, allocations: 0 / 2.623 GB, free: 206.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/4.862, allocations: 0.6189 MB / 2.624 GB, free: 206 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/4.864, allocations: 262.1 kB / 2.624 GB, free: 206 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/4.868, allocations: 1.632 MB / 2.625 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/4.869, allocations: 1.236 MB / 2.627 GB, free: 204.9 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/4.869, allocations: 0 / 2.627 GB, free: 204.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)