Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001282/0.001283, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.647/1.647, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008998/0.0008996, allocations: 85.89 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2711/0.272, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.9674, allocations: 116.3 MB / 0.9727 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.513/5.48, allocations: 2.092 GB / 3.064 GB, free: 354.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/5.481, allocations: 88.2 kB / 3.064 GB, free: 354.6 MB / 0.948 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.5985/6.079, allocations: 313.9 MB / 3.371 GB, free: 53.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/6.079, allocations: 8 kB / 3.371 GB, free: 53.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/6.084, allocations: 0.5206 MB / 3.371 GB, free: 52.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/6.086, allocations: 0.9816 MB / 3.372 GB, free: 51.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/6.086, allocations: 52 kB / 3.372 GB, free: 51.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/6.086, allocations: 100 kB / 3.373 GB, free: 51.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002583/6.089, allocations: 1.654 MB / 3.374 GB, free: 49.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/6.091, allocations: 1.46 MB / 3.376 GB, free: 48.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/6.091, allocations: 0 / 3.376 GB, free: 48.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/6.091, allocations: 0 / 3.376 GB, free: 48.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/6.091, allocations: 40 kB / 3.376 GB, free: 48.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00749/6.099, allocations: 4.598 MB / 3.38 GB, free: 43.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/6.101, allocations: 1.489 MB / 3.382 GB, free: 42.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/6.101, allocations: 0.5581 MB / 3.382 GB, free: 41.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009063/6.102, allocations: 1.14 MB / 3.383 GB, free: 40.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/6.103, allocations: 0.7293 MB / 3.384 GB, free: 39.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 3.987e-06/6.103, allocations: 0 / 3.384 GB, free: 39.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.003536/6.107, allocations: 1.321 MB / 3.385 GB, free: 38.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/6.107, allocations: 252.6 kB / 3.386 GB, free: 37.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/6.108, allocations: 0.6097 MB / 3.386 GB, free: 37.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/6.108, allocations: 29.7 kB / 3.386 GB, free: 37.06 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/6.108, allocations: 0.4958 MB / 3.387 GB, free: 36.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/6.109, allocations: 441.3 kB / 3.387 GB, free: 36.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/6.109, allocations: 7.938 kB / 3.387 GB, free: 36.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/6.109, allocations: 349.9 kB / 3.387 GB, free: 35.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/6.109, allocations: 382.5 kB / 3.388 GB, free: 35.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/6.11, allocations: 0.5271 MB / 3.388 GB, free: 34.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/6.111, allocations: 475.5 kB / 3.389 GB, free: 34.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/6.111, allocations: 0 / 3.389 GB, free: 34.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002622/6.113, allocations: 1.259 MB / 3.39 GB, free: 33.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/6.114, allocations: 14.41 kB / 3.39 GB, free: 33.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/6.114, allocations: 0 / 3.39 GB, free: 33.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009292/6.114, allocations: 184.2 kB / 3.39 GB, free: 32.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/6.116, allocations: 307.6 kB / 3.39 GB, free: 32.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004165/6.12, allocations: 6.467 MB / 3.397 GB, free: 25.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/6.122, allocations: 115.1 kB / 3.397 GB, free: 25.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/6.122, allocations: 47.97 kB / 3.397 GB, free: 25.36 MB / 0.948 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.0003687/6.122, allocations: 120.8 kB / 3.397 GB, free: 25.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/6.122, allocations: 122.6 kB / 3.397 GB, free: 25.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/6.126, allocations: 1.608 MB / 3.399 GB, free: 23.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/6.126, allocations: 12 kB / 3.399 GB, free: 23.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/6.126, allocations: 4 kB / 3.399 GB, free: 23.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/6.126, allocations: 7.969 kB / 3.399 GB, free: 23.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/6.131, allocations: 2.943 MB / 3.402 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/6.131, allocations: 0 / 3.402 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/6.133, allocations: 307.6 kB / 3.402 GB, free: 20.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008271/6.134, allocations: 192.1 kB / 3.402 GB, free: 19.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/6.134, allocations: 19.97 kB / 3.402 GB, free: 19.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/6.138, allocations: 6.497 MB / 3.408 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/6.138, allocations: 4 kB / 3.408 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003133/6.141, allocations: 1.435 MB / 3.41 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003059/6.144, allocations: 1.888 MB / 3.412 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/6.145, allocations: 395.1 kB / 3.412 GB, free: 9.043 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/6.146, allocations: 4 kB / 3.412 GB, free: 9.039 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/6.147, allocations: 103.8 kB / 3.412 GB, free: 8.938 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/6.147, allocations: 81.19 kB / 3.412 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/6.147, allocations: 67.94 kB / 3.412 GB, free: 8.793 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006015/6.148, allocations: 495.1 kB / 3.413 GB, free: 8.316 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002763/6.15, allocations: 0.752 MB / 3.414 GB, free: 7.562 MB / 0.948 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.002353/6.153, allocations: 1.656 MB / 3.415 GB, free: 5.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002218/6.155, allocations: 1.569 MB / 3.417 GB, free: 4.312 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/6.155, allocations: 4.594 kB / 3.417 GB, free: 4.309 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/6.156, allocations: 1.123 MB / 3.418 GB, free: 3.137 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/6.158, allocations: 387.6 kB / 3.418 GB, free: 2.762 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/6.164, allocations: 2.18 MB / 3.42 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4308/6.595, allocations: 1.461 MB / 3.422 GB, free: 317 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/6.595, allocations: 0 / 3.422 GB, free: 317 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)