Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.413/1.413, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001023/0.001023, allocations: 181.2 kB / 361.1 MB, free: 7.109 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.223/1.223, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008402/0.0008403, allocations: 88.12 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2154/0.2162, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.7704, allocations: 115.3 MB / 0.9637 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.018/3.788, allocations: 2.094 GB / 3.057 GB, free: 12.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/3.789, allocations: 87.95 kB / 3.057 GB, free: 12.89 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.496/5.284, allocations: 480.3 MB / 3.526 GB, free: 224.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/5.284, allocations: 12.03 kB / 3.526 GB, free: 224.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/5.287, allocations: 473.8 kB / 3.527 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/5.288, allocations: 0.9843 MB / 3.528 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/5.288, allocations: 53.66 kB / 3.528 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/5.289, allocations: 90.72 kB / 3.528 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00203/5.291, allocations: 1.525 MB / 3.529 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/5.293, allocations: 1.43 MB / 3.531 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/5.293, allocations: 7.25 kB / 3.531 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/5.293, allocations: 7.5 kB / 3.531 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/5.293, allocations: 39.25 kB / 3.531 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007508/5.3, allocations: 5.498 MB / 3.536 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/5.302, allocations: 1.346 MB / 3.538 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/5.303, allocations: 499 kB / 3.538 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006783/5.303, allocations: 0.8926 MB / 3.539 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008907/5.304, allocations: 0.6604 MB / 3.54 GB, free: 219.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 2.826e-06/5.304, allocations: 0 / 3.54 GB, free: 219.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.002777/5.307, allocations: 1.126 MB / 3.541 GB, free: 219.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/5.307, allocations: 244.4 kB / 3.541 GB, free: 219.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/5.308, allocations: 0.678 MB / 3.542 GB, free: 219.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/5.308, allocations: 31.48 kB / 3.542 GB, free: 219.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/5.309, allocations: 0.4982 MB / 3.542 GB, free: 219 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/5.309, allocations: 382 kB / 3.542 GB, free: 218.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/5.309, allocations: 0.5625 kB / 3.542 GB, free: 218.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/5.309, allocations: 343.9 kB / 3.543 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/5.309, allocations: 358.9 kB / 3.543 GB, free: 218.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/5.31, allocations: 0.5107 MB / 3.544 GB, free: 218.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/5.311, allocations: 445.9 kB / 3.544 GB, free: 218.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/5.311, allocations: 0 / 3.544 GB, free: 218.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002126/5.313, allocations: 1.094 MB / 3.545 GB, free: 218.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/5.313, allocations: 6.219 kB / 3.545 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/5.313, allocations: 6.469 kB / 3.545 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/5.314, allocations: 91.45 kB / 3.545 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/5.315, allocations: 271.7 kB / 3.545 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/5.316, allocations: 1.459 MB / 3.547 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/5.317, allocations: 117.8 kB / 3.547 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/5.318, allocations: 49.05 kB / 3.547 GB, free: 216.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.0002122/5.318, allocations: 121.3 kB / 3.547 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/5.318, allocations: 116.9 kB / 3.547 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/5.321, allocations: 1.417 MB / 3.549 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/5.321, allocations: 14.66 kB / 3.549 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/5.321, allocations: 0 / 3.549 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/5.321, allocations: 9.5 kB / 3.549 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/5.325, allocations: 2.762 MB / 3.551 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/5.325, allocations: 0 / 3.551 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/5.326, allocations: 271 kB / 3.552 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/5.327, allocations: 96.88 kB / 3.552 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/5.327, allocations: 15.16 kB / 3.552 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/5.328, allocations: 1.487 MB / 3.553 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/5.328, allocations: 0 / 3.553 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002652/5.331, allocations: 1.916 MB / 3.555 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003507/5.334, allocations: 3.03 MB / 3.558 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/5.335, allocations: 390.4 kB / 3.558 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/5.335, allocations: 3.5 kB / 3.558 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/5.336, allocations: 102.4 kB / 3.559 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/5.336, allocations: 69.98 kB / 3.559 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/5.337, allocations: 58.17 kB / 3.559 GB, free: 214 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000577/5.337, allocations: 0.5299 MB / 3.559 GB, free: 213.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00238/5.34, allocations: 0.7708 MB / 3.56 GB, free: 213.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.002301/5.342, allocations: 1.87 MB / 3.562 GB, free: 213.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001711/5.344, allocations: 1.066 MB / 3.563 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/5.344, allocations: 4.344 kB / 3.563 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008141/5.344, allocations: 0.6688 MB / 3.563 GB, free: 213.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/5.346, allocations: 384.7 kB / 3.564 GB, free: 213.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/5.351, allocations: 2.288 MB / 3.566 GB, free: 212.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/5.353, allocations: 1.483 MB / 3.567 GB, free: 211.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/5.353, allocations: 0 / 3.567 GB, free: 211.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)