Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.8 MB / 297 MB, free: 6.598 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.001412/0.001412, allocations: 183.9 kB / 366.3 MB, free: 1.938 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.638/1.638, allocations: 205.2 MB / 0.6256 GB, free: 5.789 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.0009697/0.0009694, allocations: 93.02 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2537/0.2547, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.9159, allocations: 116.3 MB / 0.9726 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/1.105, allocations: 150.8 MB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.105, allocations: 71.97 kB / 1.12 GB, free: 13.52 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.09263/1.198, allocations: 27.15 MB / 1.147 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1.198, allocations: 12 kB / 1.147 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/1.198, allocations: 75.06 kB / 1.147 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/1.201, allocations: 1.242 MB / 1.148 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.201, allocations: 8 kB / 1.148 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/1.201, allocations: 31.89 kB / 1.148 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003648/1.201, allocations: 208.9 kB / 1.148 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/1.202, allocations: 333 kB / 1.148 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.202, allocations: 5.781 kB / 1.148 GB, free: 276 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/1.202, allocations: 0 / 1.148 GB, free: 276 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/1.202, allocations: 8 kB / 1.148 GB, free: 268 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/1.204, allocations: 1.937 MB / 1.15 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/1.205, allocations: 278.6 kB / 1.151 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/1.205, allocations: 128.8 kB / 1.151 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/1.205, allocations: 4 kB / 1.151 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/1.205, allocations: 34.56 kB / 1.151 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/1.205, allocations: 0 / 1.151 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0006951/1.206, allocations: 337.8 kB / 1.151 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/1.206, allocations: 55.34 kB / 1.151 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.207, allocations: 0.8939 MB / 1.152 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/1.207, allocations: 25.7 kB / 1.152 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/1.207, allocations: 212.4 kB / 1.152 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/1.207, allocations: 71.02 kB / 1.152 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/1.207, allocations: 0 / 1.152 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.208, allocations: 378.8 kB / 1.153 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/1.208, allocations: 225.9 kB / 1.153 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/1.208, allocations: 0.4894 MB / 1.153 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/1.209, allocations: 302.3 kB / 1.154 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/1.209, allocations: 4 kB / 1.154 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001103/1.21, allocations: 0.7396 MB / 1.154 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.21, allocations: 4 kB / 1.154 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/1.21, allocations: 16 kB / 1.154 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/1.21, allocations: 56.81 kB / 1.154 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/1.211, allocations: 141.8 kB / 1.155 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/1.212, allocations: 1.414 MB / 1.156 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009445/1.213, allocations: 131.2 kB / 1.156 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/1.213, allocations: 28 kB / 1.156 GB, free: 7.98 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.000117/1.213, allocations: 133.2 kB / 1.156 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.213, allocations: 59.25 kB / 1.156 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/1.213, allocations: 65.64 kB / 1.156 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.213, allocations: 7.984 kB / 1.156 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.213, allocations: 0 / 1.156 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.213, allocations: 3.984 kB / 1.156 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/1.214, allocations: 0.6303 MB / 1.157 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.214, allocations: 3.938 kB / 1.157 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/1.214, allocations: 39.97 kB / 1.157 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/1.214, allocations: 48.83 kB / 1.157 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/1.214, allocations: 7.984 kB / 1.157 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/1.216, allocations: 1.404 MB / 1.158 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.216, allocations: 0 / 1.158 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007099/1.216, allocations: 0.5527 MB / 1.159 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009728/1.217, allocations: 1.1 MB / 1.16 GB, free: 3.723 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/1.218, allocations: 352.6 kB / 1.16 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.218, allocations: 7.906 kB / 1.16 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/1.218, allocations: 51.91 kB / 1.16 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/1.218, allocations: 7.984 kB / 1.16 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/1.219, allocations: 12 kB / 1.16 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0008405/1.219, allocations: 0.66 MB / 1.161 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001401/1.221, allocations: 199.7 kB / 1.161 GB, free: 2.406 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.000258/1.221, allocations: 160.3 kB / 1.161 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007867/1.222, allocations: 0.5385 MB / 1.162 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.222, allocations: 0 / 1.162 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/1.222, allocations: 230.6 kB / 1.162 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/1.223, allocations: 158 kB / 1.162 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/1.225, allocations: 1.256 MB / 1.164 GB, free: 36 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/1.226, allocations: 1.072 MB / 1.165 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of SimCode: time 1.683e-06/1.226, allocations: 0 / 1.165 GB, free: 14.94 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)