Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 187.3 kB / 7.806 MB, free: 132 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4613/0.4613, allocations: 90.85 MB / 99.07 MB, free: 3.297 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 221.4 MB / 342.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009859, allocations: 99.03 kB / 415.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1532/0.1542, allocations: 78.44 MB / 493.9 MB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.4832, allocations: 72.31 MB / 0.553 GB, free: 46.4 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.244/3.727, allocations: 1.86 GB / 2.413 GB, free: 233.4 MB / 0.6075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/3.728, allocations: 93.77 kB / 2.413 GB, free: 233.3 MB / 0.6075 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.088/4.816, allocations: 401.3 MB / 2.805 GB, free: 67.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/4.816, allocations: 12 kB / 2.805 GB, free: 67.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/4.819, allocations: 361.8 kB / 2.806 GB, free: 66.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/4.822, allocations: 1.114 MB / 2.807 GB, free: 65.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/4.822, allocations: 39.98 kB / 2.807 GB, free: 65.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/4.822, allocations: 75.89 kB / 2.807 GB, free: 65.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002228/4.824, allocations: 1.296 MB / 2.808 GB, free: 64.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/4.826, allocations: 1.035 MB / 2.809 GB, free: 63.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/4.826, allocations: 4 kB / 2.809 GB, free: 63.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/4.827, allocations: 7.938 kB / 2.809 GB, free: 63.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/4.827, allocations: 28 kB / 2.809 GB, free: 63.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005976/4.833, allocations: 3.59 MB / 2.813 GB, free: 59.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/4.834, allocations: 0.9398 MB / 2.814 GB, free: 58.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/4.834, allocations: 395.1 kB / 2.814 GB, free: 58.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/4.835, allocations: 0.4991 MB / 2.815 GB, free: 57.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007318/4.836, allocations: 0.5465 MB / 2.815 GB, free: 57.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 3.386e-06/4.836, allocations: 0 / 2.815 GB, free: 57.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003268/4.839, allocations: 1.114 MB / 2.816 GB, free: 55.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/4.839, allocations: 244.1 kB / 2.816 GB, free: 55.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/4.84, allocations: 0.6095 MB / 2.817 GB, free: 54.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.23e-05/4.84, allocations: 33.7 kB / 2.817 GB, free: 54.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/4.84, allocations: 399.6 kB / 2.817 GB, free: 54.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/4.841, allocations: 311.3 kB / 2.818 GB, free: 54.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/4.841, allocations: 4 kB / 2.818 GB, free: 54.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/4.841, allocations: 345.9 kB / 2.818 GB, free: 53.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/4.841, allocations: 305.9 kB / 2.818 GB, free: 53.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/4.842, allocations: 457.7 kB / 2.819 GB, free: 53.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/4.843, allocations: 0.521 MB / 2.819 GB, free: 52.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/4.843, allocations: 0 / 2.819 GB, free: 52.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002564/4.846, allocations: 1.096 MB / 2.82 GB, free: 51.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/4.846, allocations: 4 kB / 2.82 GB, free: 51.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/4.846, allocations: 0 / 2.82 GB, free: 51.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/4.846, allocations: 84.84 kB / 2.82 GB, free: 51.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/4.847, allocations: 211.7 kB / 2.821 GB, free: 51.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/4.849, allocations: 1.465 MB / 2.822 GB, free: 49.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009158/4.85, allocations: 95.42 kB / 2.822 GB, free: 49.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/4.85, allocations: 39.97 kB / 2.822 GB, free: 49.45 MB / 0.6075 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.0002074/4.85, allocations: 127.8 kB / 2.822 GB, free: 49.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/4.85, allocations: 98.88 kB / 2.822 GB, free: 49.22 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/4.854, allocations: 1.448 MB / 2.824 GB, free: 47.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/4.854, allocations: 12 kB / 2.824 GB, free: 47.74 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/4.854, allocations: 0 / 2.824 GB, free: 47.74 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/4.854, allocations: 7.969 kB / 2.824 GB, free: 47.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/4.858, allocations: 2.538 MB / 2.826 GB, free: 45.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/4.858, allocations: 3.281 kB / 2.826 GB, free: 45.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/4.859, allocations: 199.7 kB / 2.827 GB, free: 44.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/4.86, allocations: 88.95 kB / 2.827 GB, free: 44.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-05/4.86, allocations: 19.98 kB / 2.827 GB, free: 44.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/4.861, allocations: 1.5 MB / 2.828 GB, free: 43.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/4.861, allocations: 0 / 2.828 GB, free: 43.21 MB / 0.6075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003412/4.865, allocations: 1.818 MB / 2.83 GB, free: 41.32 MB / 0.6075 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004397/4.869, allocations: 2.821 MB / 2.833 GB, free: 38.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/4.87, allocations: 347.4 kB / 2.833 GB, free: 38.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/4.87, allocations: 11.84 kB / 2.833 GB, free: 38.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/4.871, allocations: 71.92 kB / 2.833 GB, free: 37.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/4.872, allocations: 64.91 kB / 2.833 GB, free: 37.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/4.872, allocations: 48.36 kB / 2.833 GB, free: 37.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 0.0006752/4.872, allocations: 0.4913 MB / 2.834 GB, free: 37.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002727/4.875, allocations: 0.7368 MB / 2.834 GB, free: 36.66 MB / 0.6075 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.003072/4.878, allocations: 1.981 MB / 2.836 GB, free: 34.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001573/4.88, allocations: 0.9202 MB / 2.837 GB, free: 33.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/4.88, allocations: 3.938 kB / 2.837 GB, free: 33.99 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008235/4.881, allocations: 0.5756 MB / 2.838 GB, free: 33.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/4.882, allocations: 341.3 kB / 2.838 GB, free: 33.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/4.887, allocations: 1.964 MB / 2.84 GB, free: 31.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000917/4.888, allocations: 1.3 MB / 2.841 GB, free: 29.74 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/4.888, allocations: 0 / 2.841 GB, free: 29.74 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)