Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001287/0.001287, allocations: 177.3 kB / 366.3 MB, free: 1.992 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.427/1.427, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.00092/0.0009199, allocations: 90.52 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2645/0.2655, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.9143, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/1.105, allocations: 150.9 MB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.106, allocations: 80.67 kB / 1.12 GB, free: 13.5 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.09199/1.198, allocations: 27.17 MB / 1.147 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.198, allocations: 8 kB / 1.147 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/1.198, allocations: 75.06 kB / 1.147 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/1.2, allocations: 1.238 MB / 1.148 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.2, allocations: 9.406 kB / 1.148 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/1.2, allocations: 31.91 kB / 1.148 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003867/1.201, allocations: 216.8 kB / 1.148 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/1.201, allocations: 333 kB / 1.148 GB, free: 236 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.201, allocations: 0 / 1.148 GB, free: 236 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/1.201, allocations: 4 kB / 1.148 GB, free: 232 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.201, allocations: 4 kB / 1.148 GB, free: 228 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/1.204, allocations: 1.933 MB / 1.15 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/1.204, allocations: 282.6 kB / 1.151 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/1.204, allocations: 128.8 kB / 1.151 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/1.204, allocations: 8 kB / 1.151 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/1.204, allocations: 30.56 kB / 1.151 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/1.204, allocations: 0 / 1.151 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0006646/1.205, allocations: 342.4 kB / 1.151 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.205, allocations: 55.41 kB / 1.151 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.206, allocations: 0.8861 MB / 1.152 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/1.206, allocations: 25.7 kB / 1.152 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.206, allocations: 224.4 kB / 1.152 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/1.206, allocations: 63.02 kB / 1.152 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.206, allocations: 0 / 1.152 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.207, allocations: 374.8 kB / 1.153 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/1.207, allocations: 229.8 kB / 1.153 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/1.207, allocations: 497.2 kB / 1.153 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/1.208, allocations: 300.2 kB / 1.154 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.208, allocations: 4 kB / 1.154 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001226/1.209, allocations: 0.7458 MB / 1.154 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.209, allocations: 8.625 kB / 1.154 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.209, allocations: 8 kB / 1.154 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/1.209, allocations: 62.09 kB / 1.154 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/1.21, allocations: 135.8 kB / 1.155 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/1.211, allocations: 1.423 MB / 1.156 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/1.212, allocations: 127.3 kB / 1.156 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/1.212, allocations: 28 kB / 1.156 GB, free: 7.941 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.0001528/1.213, allocations: 132.8 kB / 1.156 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/1.213, allocations: 63.16 kB / 1.156 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/1.213, allocations: 62.77 kB / 1.156 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.213, allocations: 0 / 1.156 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.213, allocations: 4 kB / 1.156 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.213, allocations: 3.984 kB / 1.156 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/1.214, allocations: 0.6225 MB / 1.157 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.214, allocations: 0 / 1.157 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/1.214, allocations: 55.91 kB / 1.157 GB, free: 6.953 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/1.214, allocations: 36.83 kB / 1.157 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/1.214, allocations: 11.98 kB / 1.157 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/1.215, allocations: 1.404 MB / 1.158 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.215, allocations: 4.031 kB / 1.158 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006749/1.216, allocations: 0.5497 MB / 1.159 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009889/1.217, allocations: 1.094 MB / 1.16 GB, free: 3.695 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/1.217, allocations: 356.5 kB / 1.16 GB, free: 3.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/1.218, allocations: 11.91 kB / 1.16 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/1.218, allocations: 59.91 kB / 1.16 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/1.218, allocations: 7.984 kB / 1.16 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/1.218, allocations: 4 kB / 1.16 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0008291/1.219, allocations: 0.6642 MB / 1.161 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001418/1.22, allocations: 191.8 kB / 1.161 GB, free: 2.375 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.0003849/1.221, allocations: 164.3 kB / 1.161 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009919/1.222, allocations: 0.5455 MB / 1.162 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.222, allocations: 0 / 1.162 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/1.222, allocations: 225.7 kB / 1.162 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007547/1.223, allocations: 148.3 kB / 1.162 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/1.225, allocations: 1.26 MB / 1.164 GB, free: 0 / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.227, allocations: 1.068 MB / 1.165 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/1.227, allocations: 0 / 1.165 GB, free: 14.9 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)