Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.27/1.27, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001017/0.001017, allocations: 192.4 kB / 316 MB, free: 3.5 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.268/1.268, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0008263/0.0008263, allocations: 94.27 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3536/0.3544, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.5201, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5141/1.034, allocations: 134.4 MB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/1.034, allocations: 69.41 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.02631/1.061, allocations: 7.136 MB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.061, allocations: 12 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/1.061, allocations: 31.66 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/1.062, allocations: 422.4 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/1.062, allocations: 4 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/1.062, allocations: 16 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002112/1.062, allocations: 139.7 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/1.062, allocations: 156 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/1.062, allocations: 4 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/1.063, allocations: 3.906 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.063, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/1.064, allocations: 0.8385 MB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/1.064, allocations: 231.2 kB / 1.025 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/1.064, allocations: 110.4 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/1.064, allocations: 0 / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/1.064, allocations: 37.75 kB / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.042e-06/1.064, allocations: 0 / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0004507/1.065, allocations: 251.3 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.065, allocations: 55.34 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/1.065, allocations: 238.6 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/1.065, allocations: 29.64 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/1.065, allocations: 126.7 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/1.065, allocations: 69.77 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/1.065, allocations: 3.938 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.065, allocations: 348.6 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/1.066, allocations: 258.3 kB / 1.026 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/1.066, allocations: 298.9 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/1.067, allocations: 285 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.067, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009473/1.068, allocations: 0.6478 MB / 1.027 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.068, allocations: 10.66 kB / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.068, allocations: 0 / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.068, allocations: 0 / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/1.068, allocations: 134.8 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.068, allocations: 4 kB / 1.028 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.07, allocations: 63.47 kB / 1.028 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/1.07, allocations: 23.64 kB / 1.028 GB, free: 9.672 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.07, allocations: 112.9 kB / 1.028 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/1.07, allocations: 19.72 kB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/1.07, allocations: 28.27 kB / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/1.07, allocations: 0 / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.07, allocations: 0 / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.07, allocations: 0 / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/1.07, allocations: 392.6 kB / 1.028 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.07, allocations: 0 / 1.028 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/1.071, allocations: 43.91 kB / 1.028 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.071, allocations: 4 kB / 1.028 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.071, allocations: 7.984 kB / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.071, allocations: 4 kB / 1.028 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/1.071, allocations: 3.906 kB / 1.028 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004991/1.071, allocations: 474.7 kB / 1.029 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007062/1.072, allocations: 0.9705 MB / 1.03 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/1.072, allocations: 106.6 kB / 1.03 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/1.072, allocations: 7.984 kB / 1.03 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/1.073, allocations: 15.89 kB / 1.03 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/1.073, allocations: 15.91 kB / 1.03 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/1.073, allocations: 6.875 kB / 1.03 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001528/1.073, allocations: 172.8 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001233/1.074, allocations: 196 kB / 1.03 GB, free: 7.352 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/1.074, allocations: 123 kB / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006509/1.075, allocations: 442.7 kB / 1.031 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/1.075, allocations: 4 kB / 1.031 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/1.075, allocations: 113.1 kB / 1.031 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/1.076, allocations: 52.48 kB / 1.031 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.077, allocations: 0.9351 MB / 1.032 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/1.078, allocations: 0.8269 MB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.078, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)