Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001125/0.001125, allocations: 185.2 kB / 361.1 MB, free: 7.121 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.072/1.072, 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.0007873/0.0007873, allocations: 89.59 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1971/0.1979, allocations: 121.4 MB / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.6746, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.838, allocations: 149.9 MB / 1.11 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.8383, allocations: 75.97 kB / 1.11 GB, free: 6.023 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.08838/0.9267, allocations: 27.18 MB / 1.137 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.9268, allocations: 8.5 kB / 1.137 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.9271, allocations: 78 kB / 1.137 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.9295, allocations: 1.245 MB / 1.138 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.9296, allocations: 8 kB / 1.138 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.9296, allocations: 27.91 kB / 1.138 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003753/0.93, allocations: 212.9 kB / 1.138 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.9305, allocations: 337 kB / 1.139 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9305, allocations: 0 / 1.139 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.9305, allocations: 0 / 1.139 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.9305, allocations: 10.25 kB / 1.139 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.9327, allocations: 1.933 MB / 1.14 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.9331, allocations: 274.7 kB / 1.141 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.9333, allocations: 140.7 kB / 1.141 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.9333, allocations: 4 kB / 1.141 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.9334, allocations: 34.56 kB / 1.141 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.9334, allocations: 0 / 1.141 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005549/0.9339, allocations: 333.8 kB / 1.141 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.934, allocations: 55.41 kB / 1.141 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.935, allocations: 0.8861 MB / 1.142 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.9351, allocations: 25.7 kB / 1.142 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.9352, allocations: 216.4 kB / 1.142 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.9353, allocations: 67.02 kB / 1.142 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.9353, allocations: 0 / 1.142 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9355, allocations: 378.8 kB / 1.143 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.9358, allocations: 225.2 kB / 1.143 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.9362, allocations: 0.4894 MB / 1.144 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.9365, allocations: 302.1 kB / 1.144 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.9366, allocations: 4 kB / 1.144 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001025/0.9376, allocations: 0.7429 MB / 1.145 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.9376, allocations: 8.906 kB / 1.145 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.9376, allocations: 8 kB / 1.145 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.9378, allocations: 62.05 kB / 1.145 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.9383, allocations: 131.8 kB / 1.145 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.9394, allocations: 1.423 MB / 1.146 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.9403, allocations: 131.3 kB / 1.146 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.9403, allocations: 32.16 kB / 1.146 GB, free: 0.5977 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.0001071/0.9404, allocations: 128.5 kB / 1.146 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.9405, allocations: 63.16 kB / 1.146 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.9407, allocations: 65.64 kB / 1.147 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.9407, allocations: 0 / 1.147 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9407, allocations: 0 / 1.147 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9407, allocations: 0 / 1.147 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.9413, allocations: 0.6264 MB / 1.147 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9413, allocations: 7.922 kB / 1.147 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.9416, allocations: 53.59 kB / 1.147 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.9417, allocations: 40.83 kB / 1.147 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.9418, allocations: 7.984 kB / 1.147 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.9428, allocations: 1.405 MB / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9428, allocations: 0 / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005967/0.9434, allocations: 0.5665 MB / 1.149 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009022/0.9443, allocations: 1.09 MB / 1.15 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.9447, allocations: 357.3 kB / 1.151 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.9448, allocations: 7.906 kB / 1.151 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.9454, allocations: 55.92 kB / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.9454, allocations: 11.97 kB / 1.151 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.9454, allocations: 4 kB / 1.151 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0008499/0.9463, allocations: 0.6669 MB / 1.151 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001265/0.9476, allocations: 187.8 kB / 1.151 GB, free: 11.03 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.0002857/0.9479, allocations: 173.6 kB / 1.152 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.9486, allocations: 0.5393 MB / 1.152 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9486, allocations: 0 / 1.152 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.9489, allocations: 226.5 kB / 1.152 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.9497, allocations: 149 kB / 1.153 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.9517, allocations: 1.261 MB / 1.154 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/0.9525, allocations: 1.076 MB / 1.155 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of SimCode: time 1.312e-06/0.9525, allocations: 0 / 1.155 GB, free: 7.562 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)