Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",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/Buildings 8.0.0/package.mo): time 2.728/2.728, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001622, allocations: 177.3 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.1 MB / 0.6187 GB, free: 13.24 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 89.8 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2885/0.2897, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.9566, allocations: 115.2 MB / 0.9627 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.495/6.451, allocations: 2.357 GB / 3.32 GB, free: 33.25 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/6.452, allocations: 88.14 kB / 3.32 GB, free: 33.21 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 4.529/10.98, allocations: 0.9303 GB / 4.25 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/10.98, allocations: 8.5 kB / 4.25 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/11, allocations: 1.368 MB / 4.251 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02379/11.02, allocations: 5.461 MB / 4.257 GB, free: 172 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/11.02, allocations: 120 kB / 4.257 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/11.02, allocations: 215.9 kB / 4.257 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0158/11.04, allocations: 4.433 MB / 4.261 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/11.06, allocations: 4.578 MB / 4.266 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/11.06, allocations: 15.84 kB / 4.266 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/11.06, allocations: 8 kB / 4.266 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/11.06, allocations: 176 kB / 4.266 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05581/11.11, allocations: 19.27 MB / 4.285 GB, free: 142.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/11.13, allocations: 2.998 MB / 4.288 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004789/11.13, allocations: 1.646 MB / 4.289 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003184/11.14, allocations: 1.861 MB / 4.291 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005576/11.14, allocations: 1.799 MB / 4.293 GB, free: 134 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=267): time 7.063e-06/11.14, allocations: 0 / 4.293 GB, free: 134 MB / 0.9323 GB Notification: Performance of matching and sorting (n=267): time 0.02116/11.16, allocations: 3.705 MB / 4.297 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/11.16, allocations: 288.3 kB / 4.297 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008451/11.17, allocations: 3.034 MB / 4.3 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/11.17, allocations: 29.7 kB / 4.3 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002691/11.18, allocations: 1.38 MB / 4.301 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002383/11.18, allocations: 0.8776 MB / 4.302 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004296/11.18, allocations: 0 / 4.302 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002952/11.18, allocations: 424 kB / 4.302 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/11.18, allocations: 1.326 MB / 4.304 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004793/11.19, allocations: 1.996 MB / 4.306 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02552/11.21, allocations: 2.874 MB / 4.308 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.799e-05/11.21, allocations: 11.94 kB / 4.308 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.03465/11.25, allocations: 4.956 MB / 4.313 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001463/11.25, allocations: 7.287 MB / 4.32 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/11.25, allocations: 20 kB / 4.32 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/11.25, allocations: 108.8 kB / 4.321 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00879/11.26, allocations: 0.8216 MB / 4.321 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/11.26, allocations: 2.099 MB / 4.323 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008986/11.27, allocations: 429.7 kB / 4.324 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/11.27, allocations: 148.8 kB / 4.324 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/11.27, allocations: 4 kB / 4.324 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03299/11.31, allocations: 4.591 MB / 4.328 GB, free: 96.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.878e-05/11.31, allocations: 16 kB / 4.328 GB, free: 96.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/11.31, allocations: 117.7 kB / 4.329 GB, free: 96.33 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008424/11.32, allocations: 0.8074 MB / 4.329 GB, free: 95.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/11.32, allocations: 1.501 MB / 4.331 GB, free: 93.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008213/11.33, allocations: 385.4 kB / 4.331 GB, free: 93.53 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/11.33, allocations: 143.9 kB / 4.331 GB, free: 93.39 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002112/11.33, allocations: 186.9 kB / 4.331 GB, free: 93.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002077/11.33, allocations: 360.8 kB / 4.332 GB, free: 92.84 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03191/11.37, allocations: 4.546 MB / 4.336 GB, free: 88.28 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.622e-05/11.37, allocations: 32 kB / 4.336 GB, free: 88.25 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/11.37, allocations: 0 / 4.336 GB, free: 88.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01921/11.39, allocations: 3.64 MB / 4.34 GB, free: 84.52 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0345/11.42, allocations: 8.684 MB / 4.348 GB, free: 75.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/11.42, allocations: 3.938 kB / 4.348 GB, free: 75.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007369/11.43, allocations: 0.6487 MB / 4.349 GB, free: 75.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/11.43, allocations: 88.78 kB / 4.349 GB, free: 75.05 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007321/11.43, allocations: 60.67 kB / 4.349 GB, free: 74.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/11.43, allocations: 2.087 MB / 4.351 GB, free: 72.76 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/11.43, allocations: 4.062 kB / 4.351 GB, free: 72.76 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02465/11.46, allocations: 6.037 MB / 4.357 GB, free: 66.62 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03001/11.49, allocations: 8.513 MB / 4.365 GB, free: 57.98 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00434/11.49, allocations: 1.05 MB / 4.366 GB, free: 56.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/11.49, allocations: 15.98 kB / 4.366 GB, free: 56.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008057/11.5, allocations: 287.4 kB / 4.367 GB, free: 56.61 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008828/11.5, allocations: 161.9 kB / 4.367 GB, free: 56.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006551/11.5, allocations: 131.9 kB / 4.367 GB, free: 56.32 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.005718/11.51, allocations: 2.335 MB / 4.369 GB, free: 54 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01648/11.53, allocations: 2.672 MB / 4.372 GB, free: 51.32 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004353/11.53, allocations: 1.604 MB / 4.373 GB, free: 50 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01643/11.55, allocations: 5.483 MB / 4.379 GB, free: 44.48 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/11.55, allocations: 9.172 kB / 4.379 GB, free: 44.48 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005321/11.55, allocations: 1.724 MB / 4.38 GB, free: 42.74 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/11.57, allocations: 1.674 MB / 4.382 GB, free: 41.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/11.61, allocations: 7.87 MB / 4.39 GB, free: 33.24 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008494/11.61, allocations: 3.59 MB / 4.393 GB, free: 29.62 MB / 0.9323 GB Notification: Performance of SimCode: time 1.824e-06/11.61, allocations: 0 / 4.393 GB, free: 29.62 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)