Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.393/1.393, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009877/0.0009877, allocations: 181.2 kB / 361.1 MB, free: 7.125 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.056/1.056, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007795/0.0007795, allocations: 94.47 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1938/0.1947, allocations: 121.4 MB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.6703, allocations: 115.3 MB / 0.9637 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.8317, allocations: 149.9 MB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.8319, allocations: 81.08 kB / 1.11 GB, free: 6.156 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08707/0.919, allocations: 27.15 MB / 1.137 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.919, allocations: 8.5 kB / 1.137 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.9193, allocations: 79.06 kB / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.9217, allocations: 1.245 MB / 1.138 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.9217, allocations: 4 kB / 1.138 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.9218, allocations: 33.91 kB / 1.138 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003475/0.9222, allocations: 208.9 kB / 1.138 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.9226, allocations: 340.9 kB / 1.139 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9226, allocations: 4 kB / 1.139 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.9227, allocations: 0 / 1.139 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.9227, allocations: 4 kB / 1.139 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.925, allocations: 1.929 MB / 1.14 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.9255, allocations: 282.6 kB / 1.141 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.9257, allocations: 133.8 kB / 1.141 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.9257, allocations: 4 kB / 1.141 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.9257, allocations: 34.55 kB / 1.141 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.9257, allocations: 4 kB / 1.141 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005558/0.9263, allocations: 325.8 kB / 1.141 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.9263, allocations: 55.41 kB / 1.141 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.9274, allocations: 0.89 MB / 1.142 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.9274, allocations: 29.7 kB / 1.142 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.9276, allocations: 220.4 kB / 1.142 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.9277, allocations: 67 kB / 1.142 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.9277, allocations: 0 / 1.142 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.9279, allocations: 380.1 kB / 1.143 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.9282, allocations: 229.2 kB / 1.143 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.9286, allocations: 493.2 kB / 1.143 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.929, allocations: 302.1 kB / 1.144 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.929, allocations: 0 / 1.144 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001033/0.93, allocations: 0.755 MB / 1.144 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.93, allocations: 4 kB / 1.144 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.9301, allocations: 8 kB / 1.144 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.9302, allocations: 61.39 kB / 1.145 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.9307, allocations: 131.8 kB / 1.145 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.9318, allocations: 1.421 MB / 1.146 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.9328, allocations: 127.3 kB / 1.146 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.9328, allocations: 31.98 kB / 1.146 GB, free: 0.7461 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.9329, allocations: 134.8 kB / 1.146 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.933, allocations: 64.19 kB / 1.146 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.9332, allocations: 61.64 kB / 1.146 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9332, allocations: 4 kB / 1.146 GB, free: 492 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9332, allocations: 0 / 1.146 GB, free: 492 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9332, allocations: 3.938 kB / 1.146 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.9339, allocations: 0.6264 MB / 1.147 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9339, allocations: 0 / 1.147 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.9342, allocations: 49.41 kB / 1.147 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.9343, allocations: 48.81 kB / 1.147 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.9343, allocations: 8 kB / 1.147 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009531/0.9353, allocations: 1.406 MB / 1.149 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.9353, allocations: 10.08 kB / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005903/0.9359, allocations: 0.5484 MB / 1.149 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000848/0.9368, allocations: 1.101 MB / 1.15 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.9372, allocations: 345.4 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.9373, allocations: 15.89 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.9378, allocations: 51.92 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.9379, allocations: 15.92 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.9379, allocations: 4 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0007767/0.9387, allocations: 0.6669 MB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00122/0.9399, allocations: 195.8 kB / 1.151 GB, free: 11.17 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002599/0.9402, allocations: 164 kB / 1.152 GB, free: 11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007305/0.9409, allocations: 0.5392 MB / 1.152 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9409, allocations: 4.125 kB / 1.152 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.9412, allocations: 229.7 kB / 1.152 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.9419, allocations: 146.7 kB / 1.152 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.9438, allocations: 1.258 MB / 1.154 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/0.9446, allocations: 1.07 MB / 1.155 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/0.9446, allocations: 3.938 kB / 1.155 GB, free: 7.711 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)