Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",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/BuildingSystems 2.0.0-master/package.mo): time 0.7859/0.7859, allocations: 141.8 MB / 149.1 MB, free: 12.34 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 185.2 kB / 182 MB, free: 9.078 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 221.3 MB / 436 MB, free: 1.484 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009671, allocations: 100.4 kB / 0.507 GB, free: 10.28 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.001941, allocations: 273.5 kB / 0.5884 GB, free: 7.121 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.1806, allocations: 89.65 MB / 0.676 GB, free: 13.39 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.5427, allocations: 82.77 MB / 0.7568 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.069/3.611, allocations: 1.867 GB / 2.624 GB, free: 154.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/3.612, allocations: 96.38 kB / 2.624 GB, free: 154.5 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 1.008/4.62, allocations: 401.4 MB / 3.016 GB, free: 21.33 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/4.62, allocations: 8 kB / 3.016 GB, free: 21.32 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/4.622, allocations: 361.9 kB / 3.016 GB, free: 20.96 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/4.625, allocations: 1.117 MB / 3.017 GB, free: 19.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/4.625, allocations: 39.94 kB / 3.017 GB, free: 19.76 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/4.625, allocations: 67.98 kB / 3.017 GB, free: 19.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002109/4.627, allocations: 1.296 MB / 3.019 GB, free: 18.39 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/4.629, allocations: 1.039 MB / 3.02 GB, free: 17.29 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/4.629, allocations: 0 / 3.02 GB, free: 17.29 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/4.629, allocations: 4 kB / 3.02 GB, free: 17.29 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/4.629, allocations: 31.84 kB / 3.02 GB, free: 17.26 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005737/4.635, allocations: 3.529 MB / 3.023 GB, free: 13.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/4.636, allocations: 0.9451 MB / 3.024 GB, free: 12.65 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/4.637, allocations: 399 kB / 3.024 GB, free: 12.26 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006902/4.638, allocations: 0.4982 MB / 3.025 GB, free: 11.67 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006766/4.638, allocations: 0.5464 MB / 3.025 GB, free: 11.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=97): time 2.745e-06/4.638, allocations: 0 / 3.025 GB, free: 11.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=97): time 0.003096/4.641, allocations: 1.119 MB / 3.026 GB, free: 9.973 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/4.641, allocations: 244.1 kB / 3.027 GB, free: 9.68 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/4.642, allocations: 0.6133 MB / 3.027 GB, free: 9.055 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/4.642, allocations: 29.7 kB / 3.027 GB, free: 9.02 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/4.643, allocations: 391.9 kB / 3.028 GB, free: 8.629 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/4.643, allocations: 311.3 kB / 3.028 GB, free: 8.32 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/4.643, allocations: 0 / 3.028 GB, free: 8.32 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/4.643, allocations: 346.9 kB / 3.028 GB, free: 7.977 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/4.643, allocations: 305.9 kB / 3.029 GB, free: 7.676 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/4.644, allocations: 461.6 kB / 3.029 GB, free: 7.176 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/4.645, allocations: 0.5131 MB / 3.03 GB, free: 6.668 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/4.645, allocations: 3.938 kB / 3.03 GB, free: 6.664 MB / 0.6982 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00239/4.647, allocations: 1.1 MB / 3.031 GB, free: 5.555 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/4.647, allocations: 7.984 kB / 3.031 GB, free: 5.547 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/4.647, allocations: 0 / 3.031 GB, free: 5.547 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/4.648, allocations: 84.91 kB / 3.031 GB, free: 5.461 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/4.649, allocations: 207.7 kB / 3.031 GB, free: 5.258 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/4.651, allocations: 1.473 MB / 3.032 GB, free: 3.668 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008893/4.652, allocations: 91.34 kB / 3.032 GB, free: 3.578 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/4.652, allocations: 39.97 kB / 3.032 GB, free: 3.539 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002014/4.652, allocations: 122 kB / 3.033 GB, free: 3.414 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/4.652, allocations: 98.78 kB / 3.033 GB, free: 3.316 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/4.655, allocations: 1.45 MB / 3.034 GB, free: 1.844 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/4.655, allocations: 12 kB / 3.034 GB, free: 1.832 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/4.655, allocations: 0 / 3.034 GB, free: 1.832 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/4.655, allocations: 3.984 kB / 3.034 GB, free: 1.828 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2512/4.906, allocations: 2.552 MB / 3.037 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/4.906, allocations: 0 / 3.037 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/4.907, allocations: 194.1 kB / 3.037 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/4.908, allocations: 86.92 kB / 3.037 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/4.908, allocations: 24.25 kB / 3.037 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/4.91, allocations: 1.483 MB / 3.038 GB, free: 182.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/4.91, allocations: 1.312 kB / 3.038 GB, free: 182.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002963/4.913, allocations: 1.827 MB / 3.04 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003814/4.916, allocations: 2.817 MB / 3.043 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000587/4.917, allocations: 349.9 kB / 3.043 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/4.917, allocations: 7.219 kB / 3.043 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/4.918, allocations: 76.95 kB / 3.043 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/4.918, allocations: 62.94 kB / 3.043 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/4.918, allocations: 41.83 kB / 3.043 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005562/4.919, allocations: 0.4987 MB / 3.044 GB, free: 181.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002262/4.921, allocations: 0.741 MB / 3.045 GB, free: 181.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002349/4.923, allocations: 1.974 MB / 3.047 GB, free: 181.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001483/4.925, allocations: 0.9174 MB / 3.047 GB, free: 181 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/4.925, allocations: 9.359 kB / 3.047 GB, free: 181 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/4.926, allocations: 0.5757 MB / 3.048 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/4.927, allocations: 347.5 kB / 3.048 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/4.932, allocations: 1.952 MB / 3.05 GB, free: 180.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008998/4.933, allocations: 1.305 MB / 3.052 GB, free: 179.8 MB / 0.6982 GB Notification: Performance of SimCode: time 4.1e-07/4.933, allocations: 0 / 3.052 GB, free: 179.8 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)