Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.431/1.431, allocations: 285.5 MB / 292.8 MB, free: 0.6719 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 180.1 kB / 361.1 MB, free: 15.23 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 0.6195 GB, free: 5.805 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007958/0.0007958, allocations: 89.31 kB / 0.7326 GB, free: 47.43 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2217/0.2225, allocations: 121.4 MB / 0.8512 GB, free: 12.61 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.7641, allocations: 115.3 MB / 0.9637 GB, free: 85.5 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.205/3.969, allocations: 2.091 GB / 3.055 GB, free: 15.84 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/3.969, allocations: 84.8 kB / 3.055 GB, free: 15.76 MB / 0.9402 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 0.9327/4.902, allocations: 313.9 MB / 3.361 GB, free: 81.49 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/4.902, allocations: 8 kB / 3.361 GB, free: 81.48 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/4.905, allocations: 0.5284 MB / 3.362 GB, free: 80.95 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/4.907, allocations: 0.97 MB / 3.363 GB, free: 79.94 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/4.907, allocations: 56 kB / 3.363 GB, free: 79.88 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/4.908, allocations: 92 kB / 3.363 GB, free: 79.79 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002817/4.91, allocations: 1.658 MB / 3.364 GB, free: 78.13 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/4.913, allocations: 1.46 MB / 3.366 GB, free: 76.62 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/4.913, allocations: 0 / 3.366 GB, free: 76.62 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/4.913, allocations: 3.984 kB / 3.366 GB, free: 76.62 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/4.913, allocations: 40 kB / 3.366 GB, free: 76.58 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006551/4.92, allocations: 4.606 MB / 3.37 GB, free: 71.78 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/4.921, allocations: 1.486 MB / 3.372 GB, free: 70.22 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/4.922, allocations: 0.562 MB / 3.372 GB, free: 69.66 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007977/4.923, allocations: 1.14 MB / 3.373 GB, free: 68.27 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008825/4.924, allocations: 0.7293 MB / 3.374 GB, free: 67.52 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=137): time 3.105e-06/4.924, allocations: 0 / 3.374 GB, free: 67.52 MB / 0.9402 GB Notification: Performance of matching and sorting (n=137): time 0.003163/4.927, allocations: 1.329 MB / 3.375 GB, free: 66.17 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/4.927, allocations: 248.6 kB / 3.376 GB, free: 65.88 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/4.928, allocations: 0.6097 MB / 3.376 GB, free: 65.26 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 9.44e-05/4.928, allocations: 29.7 kB / 3.376 GB, free: 65.23 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/4.928, allocations: 0.5036 MB / 3.377 GB, free: 64.71 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/4.928, allocations: 437.3 kB / 3.377 GB, free: 64.28 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/4.928, allocations: 4 kB / 3.377 GB, free: 64.27 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/4.928, allocations: 345.9 kB / 3.378 GB, free: 63.93 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/4.929, allocations: 382.5 kB / 3.378 GB, free: 63.55 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/4.93, allocations: 0.5231 MB / 3.378 GB, free: 62.99 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/4.93, allocations: 477 kB / 3.379 GB, free: 62.53 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/4.93, allocations: 0 / 3.379 GB, free: 62.53 MB / 0.9402 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002437/4.933, allocations: 1.263 MB / 3.38 GB, free: 61.25 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/4.933, allocations: 7.906 kB / 3.38 GB, free: 61.24 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/4.933, allocations: 0 / 3.38 GB, free: 61.24 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008986/4.934, allocations: 188.2 kB / 3.38 GB, free: 61.04 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/4.935, allocations: 307.5 kB / 3.381 GB, free: 60.74 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/4.939, allocations: 6.463 MB / 3.387 GB, free: 53.69 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/4.941, allocations: 119.1 kB / 3.387 GB, free: 53.57 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/4.941, allocations: 51.97 kB / 3.387 GB, free: 53.52 MB / 0.9402 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.0003424/4.941, allocations: 128.6 kB / 3.387 GB, free: 53.39 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/4.941, allocations: 118.6 kB / 3.387 GB, free: 53.27 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/4.945, allocations: 1.604 MB / 3.389 GB, free: 51.64 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/4.945, allocations: 12 kB / 3.389 GB, free: 51.63 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/4.945, allocations: 4 kB / 3.389 GB, free: 51.62 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/4.945, allocations: 7.969 kB / 3.389 GB, free: 51.62 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/4.95, allocations: 2.946 MB / 3.392 GB, free: 48.61 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/4.95, allocations: 0 / 3.392 GB, free: 48.61 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/4.951, allocations: 307.6 kB / 3.392 GB, free: 48.31 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007777/4.952, allocations: 188.2 kB / 3.392 GB, free: 48.11 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/4.952, allocations: 19.97 kB / 3.392 GB, free: 48.09 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/4.956, allocations: 6.506 MB / 3.399 GB, free: 41.01 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/4.956, allocations: 4 kB / 3.399 GB, free: 41 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00267/4.958, allocations: 1.423 MB / 3.4 GB, free: 39.55 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002572/4.961, allocations: 1.892 MB / 3.402 GB, free: 37.62 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/4.962, allocations: 395.1 kB / 3.402 GB, free: 37.22 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/4.962, allocations: 8 kB / 3.402 GB, free: 37.21 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/4.963, allocations: 99.81 kB / 3.402 GB, free: 37.11 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/4.963, allocations: 81.17 kB / 3.402 GB, free: 37.03 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/4.963, allocations: 63.95 kB / 3.402 GB, free: 36.97 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.000622/4.964, allocations: 495.1 kB / 3.403 GB, free: 36.49 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.002756/4.967, allocations: 0.7558 MB / 3.404 GB, free: 35.73 MB / 0.9402 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.002577/4.969, allocations: 1.657 MB / 3.405 GB, free: 34.11 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.002224/4.971, allocations: 1.561 MB / 3.407 GB, free: 32.5 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/4.971, allocations: 4.594 kB / 3.407 GB, free: 32.5 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/4.973, allocations: 1.123 MB / 3.408 GB, free: 31.32 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/4.975, allocations: 381.9 kB / 3.408 GB, free: 30.96 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/4.98, allocations: 2.184 MB / 3.41 GB, free: 28.73 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/4.981, allocations: 1.457 MB / 3.412 GB, free: 27.24 MB / 0.9402 GB Notification: Performance of SimCode: time 7.41e-07/4.981, allocations: 0 / 3.412 GB, free: 27.24 MB / 0.9402 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)