Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001104/0.001104, allocations: 189.2 kB / 366.3 MB, free: 1.977 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.484/1.484, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0009216/0.0009215, allocations: 96.86 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2875/0.2884, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6372/0.9256, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/1.113, allocations: 150.9 MB / 1.12 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.113, allocations: 83.09 kB / 1.12 GB, free: 13.55 MB / 0.7292 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.09197/1.205, allocations: 27.17 MB / 1.147 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.205, allocations: 8 kB / 1.147 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/1.206, allocations: 79.06 kB / 1.147 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/1.208, allocations: 1.245 MB / 1.148 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.208, allocations: 8 kB / 1.148 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/1.208, allocations: 27.91 kB / 1.148 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003605/1.209, allocations: 213.6 kB / 1.148 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/1.209, allocations: 337 kB / 1.148 GB, free: 308 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.209, allocations: 0 / 1.148 GB, free: 308 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/1.209, allocations: 4 kB / 1.148 GB, free: 304 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.209, allocations: 4 kB / 1.148 GB, free: 300 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/1.211, allocations: 1.933 MB / 1.15 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/1.212, allocations: 291.6 kB / 1.151 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.212, allocations: 128.8 kB / 1.151 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/1.212, allocations: 0 / 1.151 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.212, allocations: 34.56 kB / 1.151 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/1.212, allocations: 0 / 1.151 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0006208/1.213, allocations: 333.8 kB / 1.151 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.213, allocations: 55.41 kB / 1.151 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.214, allocations: 0.8861 MB / 1.152 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/1.214, allocations: 25.7 kB / 1.152 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/1.214, allocations: 220.4 kB / 1.152 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.214, allocations: 63.02 kB / 1.152 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/1.214, allocations: 0.75 kB / 1.152 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000214/1.215, allocations: 382.8 kB / 1.153 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/1.215, allocations: 225.2 kB / 1.153 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/1.216, allocations: 0.4893 MB / 1.153 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/1.216, allocations: 304.5 kB / 1.154 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.216, allocations: 0 / 1.154 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001159/1.217, allocations: 0.7456 MB / 1.154 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.217, allocations: 5.688 kB / 1.154 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.217, allocations: 8.75 kB / 1.154 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/1.217, allocations: 64.81 kB / 1.154 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/1.218, allocations: 127.8 kB / 1.155 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/1.219, allocations: 1.433 MB / 1.156 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/1.22, allocations: 127.3 kB / 1.156 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/1.22, allocations: 32.16 kB / 1.156 GB, free: 8.008 MB / 0.7605 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.0001394/1.221, allocations: 124.7 kB / 1.156 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.221, allocations: 63.16 kB / 1.156 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/1.221, allocations: 67.05 kB / 1.156 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.221, allocations: 0 / 1.156 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.221, allocations: 4 kB / 1.156 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.221, allocations: 3.984 kB / 1.156 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/1.222, allocations: 0.6225 MB / 1.157 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.222, allocations: 0 / 1.157 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/1.222, allocations: 55.84 kB / 1.157 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/1.222, allocations: 40.83 kB / 1.157 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.222, allocations: 7.984 kB / 1.157 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/1.223, allocations: 1.4 MB / 1.158 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.223, allocations: 4 kB / 1.158 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006931/1.224, allocations: 0.5566 MB / 1.159 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00103/1.225, allocations: 1.097 MB / 1.16 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/1.226, allocations: 348.6 kB / 1.16 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/1.226, allocations: 7.906 kB / 1.16 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/1.226, allocations: 61.69 kB / 1.16 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/1.226, allocations: 7.984 kB / 1.16 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/1.226, allocations: 8 kB / 1.16 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0009805/1.227, allocations: 0.663 MB / 1.161 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001381/1.229, allocations: 191.8 kB / 1.161 GB, free: 2.445 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.0003061/1.229, allocations: 168.2 kB / 1.161 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008373/1.23, allocations: 0.5408 MB / 1.162 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.23, allocations: 0 / 1.162 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/1.23, allocations: 234.5 kB / 1.162 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/1.231, allocations: 151.8 kB / 1.162 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/1.233, allocations: 1.26 MB / 1.164 GB, free: 56 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009984/1.234, allocations: 1.068 MB / 1.165 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/1.234, allocations: 0 / 1.165 GB, free: 14.96 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)