Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.543/1.543, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001365/0.001365, 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.614/1.614, allocations: 205.1 MB / 0.6256 GB, free: 5.887 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.0009509/0.0009508, allocations: 91.69 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2769/0.2779, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.9485, allocations: 116.3 MB / 0.9726 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.519/5.468, allocations: 2.094 GB / 3.067 GB, free: 353.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/5.468, allocations: 85.89 kB / 3.067 GB, free: 353.4 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 1.418/6.886, allocations: 480.3 MB / 3.536 GB, free: 230 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/6.886, allocations: 8.656 kB / 3.536 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/6.89, allocations: 480 kB / 3.537 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/6.892, allocations: 0.9811 MB / 3.538 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/6.892, allocations: 48.22 kB / 3.538 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/6.892, allocations: 92.84 kB / 3.538 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002638/6.895, allocations: 1.531 MB / 3.539 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/6.897, allocations: 1.423 MB / 3.541 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/6.897, allocations: 2.062 kB / 3.541 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/6.897, allocations: 3.531 kB / 3.541 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/6.897, allocations: 39.16 kB / 3.541 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009319/6.907, allocations: 5.496 MB / 3.546 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/6.908, allocations: 1.348 MB / 3.547 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/6.909, allocations: 498.9 kB / 3.548 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008199/6.91, allocations: 0.8923 MB / 3.549 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009905/6.911, allocations: 0.6751 MB / 3.549 GB, free: 223.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 3.567e-06/6.911, allocations: 2.812 kB / 3.549 GB, free: 223.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.002873/6.914, allocations: 1.119 MB / 3.551 GB, free: 223.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/6.914, allocations: 244.3 kB / 3.551 GB, free: 222.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/6.915, allocations: 0.6818 MB / 3.551 GB, free: 222.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.772e-05/6.915, allocations: 28.58 kB / 3.551 GB, free: 222.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/6.915, allocations: 0.5003 MB / 3.552 GB, free: 221.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/6.916, allocations: 385.4 kB / 3.552 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/6.916, allocations: 4.828 kB / 3.552 GB, free: 221.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/6.916, allocations: 342.6 kB / 3.553 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/6.916, allocations: 358.1 kB / 3.553 GB, free: 221.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/6.917, allocations: 0.5157 MB / 3.553 GB, free: 220.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/6.918, allocations: 445.9 kB / 3.554 GB, free: 220.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/6.918, allocations: 0 / 3.554 GB, free: 220.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002325/6.92, allocations: 1.095 MB / 3.555 GB, free: 220 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/6.92, allocations: 11.39 kB / 3.555 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/6.92, allocations: 5.094 kB / 3.555 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/6.921, allocations: 88.09 kB / 3.555 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/6.922, allocations: 268.3 kB / 3.555 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/6.924, allocations: 1.463 MB / 3.557 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/6.925, allocations: 113.6 kB / 3.557 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/6.925, allocations: 46.81 kB / 3.557 GB, free: 218.5 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.0002726/6.926, allocations: 131.3 kB / 3.557 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/6.926, allocations: 116.5 kB / 3.557 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/6.929, allocations: 1.415 MB / 3.559 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/6.929, allocations: 11.25 kB / 3.559 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/6.929, allocations: 2.688 kB / 3.559 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/6.929, allocations: 3.984 kB / 3.559 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/6.934, allocations: 2.763 MB / 3.561 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/6.934, allocations: 0 / 3.561 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/6.935, allocations: 269.1 kB / 3.561 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/6.936, allocations: 85.88 kB / 3.562 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-05/6.936, allocations: 20.28 kB / 3.562 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/6.937, allocations: 1.488 MB / 3.563 GB, free: 214.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/6.937, allocations: 0 / 3.563 GB, free: 214.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003483/6.941, allocations: 1.917 MB / 3.565 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004326/6.945, allocations: 3.034 MB / 3.568 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/6.946, allocations: 395.1 kB / 3.568 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/6.947, allocations: 0 / 3.568 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/6.948, allocations: 100.6 kB / 3.568 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/6.948, allocations: 73.2 kB / 3.568 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/6.948, allocations: 51.95 kB / 3.568 GB, free: 209.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007579/6.949, allocations: 0.5419 MB / 3.569 GB, free: 209 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002997/6.952, allocations: 0.7711 MB / 3.57 GB, free: 208.2 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.002829/6.955, allocations: 1.853 MB / 3.572 GB, free: 206.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001953/6.957, allocations: 1.06 MB / 3.573 GB, free: 205.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/6.957, allocations: 8.594 kB / 3.573 GB, free: 205.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009198/6.958, allocations: 0.6647 MB / 3.573 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/6.96, allocations: 399.8 kB / 3.574 GB, free: 204.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/6.966, allocations: 2.275 MB / 3.576 GB, free: 202.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/6.967, allocations: 1.476 MB / 3.577 GB, free: 201 MB / 0.948 GB Notification: Performance of SimCode: time 1.703e-06/6.967, allocations: 0 / 3.577 GB, free: 201 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)