Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.459/2.459, allocations: 284.8 MB / 292.1 MB, free: 9.953 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.001631/0.001631, allocations: 182.7 kB / 360.3 MB, free: 1.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.1 MB / 0.6187 GB, free: 3.367 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 92.5 kB / 0.7317 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5782/0.5795, allocations: 121.4 MB / 0.8502 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.8089, allocations: 115.3 MB / 0.9628 GB, free: 57.04 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.347/6.156, allocations: 2.091 GB / 3.053 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/6.157, allocations: 91.83 kB / 3.053 GB, free: 151.3 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: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 1.531/7.688, allocations: 313.8 MB / 3.36 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/7.688, allocations: 8 kB / 3.36 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006293/7.695, allocations: 0.5206 MB / 3.36 GB, free: 210 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/7.698, allocations: 0.9764 MB / 3.361 GB, free: 209 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/7.698, allocations: 56 kB / 3.361 GB, free: 208.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004959/7.699, allocations: 95.94 kB / 3.362 GB, free: 208.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004724/7.704, allocations: 1.654 MB / 3.363 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004569/7.708, allocations: 1.464 MB / 3.365 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/7.708, allocations: 3.984 kB / 3.365 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/7.709, allocations: 3.984 kB / 3.365 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/7.709, allocations: 40 kB / 3.365 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/7.722, allocations: 4.6 MB / 3.369 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/7.725, allocations: 1.488 MB / 3.371 GB, free: 199.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/7.727, allocations: 0.562 MB / 3.371 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/7.728, allocations: 1.134 MB / 3.372 GB, free: 197.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/7.73, allocations: 0.7295 MB / 3.373 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=137): time 4.628e-06/7.73, allocations: 0 / 3.373 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=137): time 0.006079/7.736, allocations: 1.323 MB / 3.374 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/7.736, allocations: 252.6 kB / 3.375 GB, free: 195 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/7.738, allocations: 0.6135 MB / 3.375 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003885/7.738, allocations: 29.7 kB / 3.375 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/7.739, allocations: 0.5036 MB / 3.376 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/7.739, allocations: 433.4 kB / 3.376 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/7.739, allocations: 0 / 3.376 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/7.739, allocations: 353.8 kB / 3.376 GB, free: 193 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/7.74, allocations: 382.5 kB / 3.377 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/7.742, allocations: 0.5192 MB / 3.377 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/7.743, allocations: 489 kB / 3.378 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/7.743, allocations: 0 / 3.378 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004795/7.748, allocations: 1.259 MB / 3.379 GB, free: 190.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/7.748, allocations: 4.062 kB / 3.379 GB, free: 190.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/7.748, allocations: 4 kB / 3.379 GB, free: 190.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/7.75, allocations: 184.2 kB / 3.379 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/7.753, allocations: 311.5 kB / 3.379 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/7.759, allocations: 6.466 MB / 3.386 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/7.762, allocations: 111.2 kB / 3.386 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/7.762, allocations: 43.97 kB / 3.386 GB, free: 182.6 MB / 0.9323 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 (135): * Single equations (assignments): 130 * 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.0005083/7.763, allocations: 139.9 kB / 3.386 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/7.763, allocations: 114.7 kB / 3.386 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006355/7.769, allocations: 1.6 MB / 3.388 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/7.769, allocations: 12 kB / 3.388 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/7.769, allocations: 7.938 kB / 3.388 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/7.769, allocations: 7.969 kB / 3.388 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009092/7.778, allocations: 2.944 MB / 3.391 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/7.779, allocations: 4 kB / 3.391 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002972/7.782, allocations: 307.6 kB / 3.391 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/7.783, allocations: 188.1 kB / 3.391 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/7.783, allocations: 23.97 kB / 3.391 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006361/7.79, allocations: 6.49 MB / 3.397 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/7.79, allocations: 4 kB / 3.397 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005004/7.795, allocations: 1.434 MB / 3.399 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005227/7.8, allocations: 1.892 MB / 3.401 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/7.801, allocations: 395.1 kB / 3.401 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/7.802, allocations: 4 kB / 3.401 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/7.804, allocations: 107.8 kB / 3.401 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/7.804, allocations: 85.08 kB / 3.401 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/7.804, allocations: 63.95 kB / 3.401 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009279/7.805, allocations: 495.1 kB / 3.402 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003983/7.809, allocations: 0.748 MB / 3.403 GB, free: 164.9 MB / 0.9323 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.003469/7.813, allocations: 1.654 MB / 3.404 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00385/7.817, allocations: 1.558 MB / 3.406 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/7.817, allocations: 4.656 kB / 3.406 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/7.819, allocations: 1.13 MB / 3.407 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/7.823, allocations: 381.8 kB / 3.407 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009132/7.832, allocations: 2.191 MB / 3.409 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/7.834, allocations: 1.463 MB / 3.411 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.522e-06/7.834, allocations: 0 / 3.411 GB, free: 156.6 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)