Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",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.585/2.585, 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.001768/0.001767, allocations: 189.2 kB / 360.3 MB, free: 7.543 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.923/1.923, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001366/0.001367, allocations: 89.91 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2754/0.2768, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.922, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.968/5.89, allocations: 2.093 GB / 3.056 GB, free: 24.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/5.891, allocations: 85.27 kB / 3.056 GB, free: 24.92 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 2.616/8.507, allocations: 480.3 MB / 3.525 GB, free: 226.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/8.507, allocations: 11.44 kB / 3.525 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005626/8.513, allocations: 488.1 kB / 3.526 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/8.516, allocations: 0.9822 MB / 3.527 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/8.517, allocations: 51.5 kB / 3.527 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004532/8.517, allocations: 89.86 kB / 3.527 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005043/8.522, allocations: 1.53 MB / 3.528 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/8.527, allocations: 1.422 MB / 3.53 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/8.527, allocations: 7.531 kB / 3.53 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/8.527, allocations: 3.906 kB / 3.53 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/8.527, allocations: 39.34 kB / 3.53 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/8.542, allocations: 5.494 MB / 3.535 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/8.545, allocations: 1.345 MB / 3.536 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/8.546, allocations: 497.3 kB / 3.537 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/8.547, allocations: 0.8942 MB / 3.538 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/8.549, allocations: 0.6646 MB / 3.538 GB, free: 221.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 4.398e-06/8.549, allocations: 3.062 kB / 3.538 GB, free: 221.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.005044/8.554, allocations: 1.121 MB / 3.54 GB, free: 221.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/8.554, allocations: 252.3 kB / 3.54 GB, free: 221.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/8.556, allocations: 0.6707 MB / 3.54 GB, free: 221.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003945/8.556, allocations: 29.17 kB / 3.54 GB, free: 221.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/8.557, allocations: 0.5042 MB / 3.541 GB, free: 221 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005671/8.557, allocations: 377.6 kB / 3.541 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/8.558, allocations: 0 / 3.541 GB, free: 220.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001067/8.558, allocations: 341.9 kB / 3.542 GB, free: 220.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/8.559, allocations: 364.1 kB / 3.542 GB, free: 220.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/8.56, allocations: 0.5115 MB / 3.542 GB, free: 220.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/8.561, allocations: 440.3 kB / 3.543 GB, free: 220.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/8.561, allocations: 3.969 kB / 3.543 GB, free: 220.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004135/8.565, allocations: 1.097 MB / 3.544 GB, free: 220.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/8.566, allocations: 4.688 kB / 3.544 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/8.566, allocations: 7.719 kB / 3.544 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/8.567, allocations: 84.97 kB / 3.544 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/8.57, allocations: 266.8 kB / 3.544 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/8.573, allocations: 1.476 MB / 3.546 GB, free: 219 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/8.575, allocations: 116.6 kB / 3.546 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/8.575, allocations: 40.28 kB / 3.546 GB, free: 218.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.0004693/8.576, allocations: 132.7 kB / 3.546 GB, free: 218.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/8.576, allocations: 114.4 kB / 3.546 GB, free: 218.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005624/8.582, allocations: 1.416 MB / 3.548 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/8.582, allocations: 17.53 kB / 3.548 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/8.582, allocations: 0 / 3.548 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/8.582, allocations: 7.359 kB / 3.548 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/8.591, allocations: 2.768 MB / 3.55 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/8.591, allocations: 3.938 kB / 3.55 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/8.594, allocations: 267.9 kB / 3.551 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009976/8.595, allocations: 87.36 kB / 3.551 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/8.595, allocations: 22.52 kB / 3.551 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/8.597, allocations: 1.479 MB / 3.552 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/8.598, allocations: 3.719 kB / 3.552 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006247/8.604, allocations: 1.914 MB / 3.554 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008918/8.613, allocations: 3.033 MB / 3.557 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/8.614, allocations: 390.8 kB / 3.557 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/8.615, allocations: 4.688 kB / 3.557 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/8.617, allocations: 104.8 kB / 3.557 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/8.618, allocations: 68.84 kB / 3.557 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/8.618, allocations: 62.88 kB / 3.558 GB, free: 216 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001277/8.619, allocations: 0.5303 MB / 3.558 GB, free: 215.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004598/8.624, allocations: 0.7697 MB / 3.559 GB, free: 215.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.004489/8.628, allocations: 1.858 MB / 3.561 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003539/8.632, allocations: 1.066 MB / 3.562 GB, free: 215.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/8.632, allocations: 2.562 kB / 3.562 GB, free: 215.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/8.634, allocations: 0.6683 MB / 3.562 GB, free: 215.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/8.638, allocations: 394.9 kB / 3.563 GB, free: 215.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/8.649, allocations: 2.272 MB / 3.565 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/8.651, allocations: 1.479 MB / 3.566 GB, free: 213.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.894e-06/8.652, allocations: 0 / 3.566 GB, free: 213.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)