Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 177.3 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 93.61 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3647/0.3657, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.5329, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.765/4.298, allocations: 2.21 GB / 3.095 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/4.299, allocations: 89.64 kB / 3.095 GB, free: 193.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.93/5.229, allocations: 310 MB / 3.398 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/5.229, allocations: 8.594 kB / 3.398 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/5.232, allocations: 0.5291 MB / 3.398 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/5.234, allocations: 0.9946 MB / 3.399 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/5.234, allocations: 57.16 kB / 3.399 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/5.234, allocations: 94.69 kB / 3.399 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002812/5.237, allocations: 1.648 MB / 3.401 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/5.24, allocations: 1.481 MB / 3.402 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/5.24, allocations: 1.125 kB / 3.402 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/5.24, allocations: 2.031 kB / 3.402 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/5.24, allocations: 40.72 kB / 3.402 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007299/5.247, allocations: 4.835 MB / 3.407 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/5.249, allocations: 1.148 MB / 3.408 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007888/5.25, allocations: 0.5546 MB / 3.409 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008867/5.251, allocations: 1.129 MB / 3.41 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/5.252, allocations: 0.7468 MB / 3.411 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 4.648e-06/5.252, allocations: 0 / 3.411 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.003613/5.256, allocations: 1.304 MB / 3.412 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/5.256, allocations: 247 kB / 3.412 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/5.257, allocations: 0.64 MB / 3.413 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/5.257, allocations: 32.45 kB / 3.413 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/5.257, allocations: 0.5154 MB / 3.413 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/5.257, allocations: 441.2 kB / 3.414 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/5.258, allocations: 0 / 3.414 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/5.258, allocations: 345.9 kB / 3.414 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/5.258, allocations: 378.5 kB / 3.414 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/5.259, allocations: 0.5153 MB / 3.415 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/5.259, allocations: 469.2 kB / 3.415 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/5.259, allocations: 0 / 3.415 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002328/5.262, allocations: 1.247 MB / 3.416 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/5.262, allocations: 4 kB / 3.416 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/5.262, allocations: 3.062 kB / 3.416 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000867/5.263, allocations: 188.1 kB / 3.417 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/5.264, allocations: 299.6 kB / 3.417 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/5.268, allocations: 6.485 MB / 3.423 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/5.269, allocations: 111.2 kB / 3.423 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/5.269, allocations: 47.97 kB / 3.423 GB, free: 194.1 MB / 0.8698 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.0002469/5.269, allocations: 132.4 kB / 3.424 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/5.27, allocations: 122.6 kB / 3.424 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/5.273, allocations: 1.581 MB / 3.425 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/5.273, allocations: 23.92 kB / 3.425 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/5.273, allocations: 0 / 3.425 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/5.273, allocations: 7.984 kB / 3.425 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/5.274, allocations: 1.253 MB / 3.426 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/5.274, allocations: 0 / 3.426 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/5.275, allocations: 303.6 kB / 3.427 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/5.276, allocations: 188.2 kB / 3.427 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/5.276, allocations: 19.97 kB / 3.427 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/5.28, allocations: 6.496 MB / 3.433 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/5.28, allocations: 4 kB / 3.433 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002407/5.283, allocations: 1.359 MB / 3.435 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002529/5.285, allocations: 1.82 MB / 3.436 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/5.286, allocations: 407.1 kB / 3.437 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/5.286, allocations: 4 kB / 3.437 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/5.287, allocations: 103.8 kB / 3.437 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/5.287, allocations: 89.11 kB / 3.437 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/5.287, allocations: 63.95 kB / 3.437 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005068/5.288, allocations: 0.4991 MB / 3.438 GB, free: 179 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002406/5.29, allocations: 0.7632 MB / 3.438 GB, free: 178.2 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.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.002144/5.292, allocations: 1.653 MB / 3.44 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00206/5.294, allocations: 1.542 MB / 3.441 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/5.294, allocations: 4.938 kB / 3.441 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/5.296, allocations: 1.126 MB / 3.442 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/5.297, allocations: 383.8 kB / 3.443 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/5.302, allocations: 2.254 MB / 3.445 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/5.303, allocations: 1.483 MB / 3.446 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/5.303, allocations: 0 / 3.446 GB, free: 169.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)