Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.597/2.597, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002496/0.002495, allocations: 181.2 kB / 360.3 MB, free: 7.523 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.947/1.947, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001226/0.001226, allocations: 85.61 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.361/0.3623, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/1.058, allocations: 115.2 MB / 0.9627 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/1.317, allocations: 149.7 MB / 1.109 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.317, allocations: 79.95 kB / 1.109 GB, free: 7.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.1776/1.495, allocations: 27.17 MB / 1.136 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/1.495, allocations: 8.5 kB / 1.136 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/1.496, allocations: 81 kB / 1.136 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/1.5, allocations: 1.249 MB / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.5, allocations: 4 kB / 1.137 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.501, allocations: 27.91 kB / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006363/1.501, allocations: 208.9 kB / 1.137 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/1.502, allocations: 340.9 kB / 1.137 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.502, allocations: 4 kB / 1.137 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/1.502, allocations: 0 / 1.137 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.502, allocations: 4 kB / 1.137 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/1.506, allocations: 1.929 MB / 1.139 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/1.507, allocations: 286.6 kB / 1.14 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/1.508, allocations: 134.3 kB / 1.14 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/1.508, allocations: 0 / 1.14 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.508, allocations: 34.56 kB / 1.14 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 6.192e-06/1.508, allocations: 3.984 kB / 1.14 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.00176/1.509, allocations: 334.7 kB / 1.14 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/1.51, allocations: 55.41 kB / 1.14 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003624/1.513, allocations: 0.89 MB / 1.141 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.513, allocations: 29.7 kB / 1.141 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/1.514, allocations: 212.4 kB / 1.141 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/1.514, allocations: 63.02 kB / 1.141 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/1.514, allocations: 0 / 1.141 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004059/1.515, allocations: 382.8 kB / 1.142 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/1.516, allocations: 229.1 kB / 1.142 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/1.517, allocations: 0.4892 MB / 1.142 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.518, allocations: 303.7 kB / 1.143 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/1.518, allocations: 3.938 kB / 1.143 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003418/1.522, allocations: 0.7398 MB / 1.143 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/1.522, allocations: 10.06 kB / 1.143 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/1.522, allocations: 11.98 kB / 1.143 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/1.522, allocations: 56.83 kB / 1.143 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.524, allocations: 127.8 kB / 1.144 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/1.528, allocations: 1.425 MB / 1.145 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/1.53, allocations: 131.5 kB / 1.145 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/1.53, allocations: 28 kB / 1.145 GB, free: 1.566 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.0001909/1.53, allocations: 126.2 kB / 1.145 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.53, allocations: 67.14 kB / 1.145 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/1.531, allocations: 57.66 kB / 1.145 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.531, allocations: 7.984 kB / 1.145 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.531, allocations: 0 / 1.145 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.531, allocations: 0 / 1.145 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.532, allocations: 0.6328 MB / 1.146 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.532, allocations: 3.75 kB / 1.146 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/1.532, allocations: 47.91 kB / 1.146 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/1.533, allocations: 48.77 kB / 1.146 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/1.533, allocations: 7.984 kB / 1.146 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/1.535, allocations: 1.404 MB / 1.147 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.535, allocations: 160 / 1.147 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001385/1.536, allocations: 0.5601 MB / 1.148 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001886/1.538, allocations: 1.096 MB / 1.149 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.539, allocations: 349.1 kB / 1.149 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/1.54, allocations: 15.89 kB / 1.149 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.541, allocations: 51.92 kB / 1.149 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/1.541, allocations: 7.984 kB / 1.149 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/1.541, allocations: 4 kB / 1.149 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001648/1.543, allocations: 0.6669 MB / 1.15 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002663/1.545, allocations: 195.8 kB / 1.15 GB, free: 12 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.0004851/1.546, allocations: 172 kB / 1.15 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001599/1.548, allocations: 0.5327 MB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.548, allocations: 2.25 kB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005111/1.548, allocations: 229.7 kB / 1.151 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.55, allocations: 155.4 kB / 1.151 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/1.553, allocations: 1.246 MB / 1.153 GB, free: 9.641 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.555, allocations: 1.079 MB / 1.154 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of SimCode: time 1.372e-06/1.555, allocations: 6.156 kB / 1.154 GB, free: 8.535 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)