Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.577/2.577, allocations: 284.8 MB / 292.1 MB, free: 14.76 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002361/0.00236, allocations: 169.3 kB / 360.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.2 MB / 0.6187 GB, free: 5.156 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001786/0.001785, allocations: 88.45 kB / 0.7317 GB, free: 53.52 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.3358/0.3377, allocations: 121.4 MB / 0.8502 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.6079, allocations: 115.2 MB / 0.9627 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6741/1.282, allocations: 149.7 MB / 1.109 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.282, allocations: 80.98 kB / 1.109 GB, free: 2.789 MB / 0.7012 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.1766/1.459, allocations: 27.14 MB / 1.136 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/1.459, allocations: 8.5 kB / 1.136 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/1.46, allocations: 75.06 kB / 1.136 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/1.465, allocations: 1.249 MB / 1.137 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/1.465, allocations: 12 kB / 1.137 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.465, allocations: 27.91 kB / 1.137 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000674/1.466, allocations: 208.9 kB / 1.137 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/1.467, allocations: 338.9 kB / 1.137 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.467, allocations: 0 / 1.137 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/1.467, allocations: 1.75 kB / 1.137 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/1.467, allocations: 12 kB / 1.137 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/1.472, allocations: 1.929 MB / 1.139 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/1.473, allocations: 282.5 kB / 1.14 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/1.473, allocations: 131 kB / 1.14 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/1.473, allocations: 4.844 kB / 1.14 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.473, allocations: 38.55 kB / 1.14 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 3.917e-06/1.473, allocations: 0 / 1.14 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001208/1.475, allocations: 329.8 kB / 1.14 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.475, allocations: 55.41 kB / 1.14 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/1.477, allocations: 0.89 MB / 1.141 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.477, allocations: 25.7 kB / 1.141 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/1.477, allocations: 216.4 kB / 1.141 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.477, allocations: 70.94 kB / 1.141 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/1.477, allocations: 0 / 1.141 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002699/1.478, allocations: 382.8 kB / 1.142 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/1.478, allocations: 225.2 kB / 1.142 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/1.479, allocations: 0.4892 MB / 1.142 GB, free: 468 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/1.48, allocations: 299.7 kB / 1.143 GB, free: 168 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.48, allocations: 4 kB / 1.143 GB, free: 164 kB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002024/1.482, allocations: 0.7445 MB / 1.143 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.482, allocations: 8 kB / 1.143 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.482, allocations: 8 kB / 1.143 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/1.482, allocations: 56.83 kB / 1.143 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/1.483, allocations: 132 kB / 1.144 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/1.485, allocations: 1.424 MB / 1.145 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.487, allocations: 131.3 kB / 1.145 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/1.487, allocations: 31.98 kB / 1.145 GB, free: 13.52 MB / 0.7481 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.0001773/1.488, allocations: 124.7 kB / 1.145 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.488, allocations: 63.16 kB / 1.145 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/1.488, allocations: 65.7 kB / 1.145 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/1.488, allocations: 6.25 kB / 1.145 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.488, allocations: 0 / 1.145 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/1.488, allocations: 4 kB / 1.145 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/1.489, allocations: 0.6263 MB / 1.146 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.489, allocations: 0 / 1.146 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/1.49, allocations: 47.91 kB / 1.146 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/1.49, allocations: 49.81 kB / 1.146 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/1.49, allocations: 4 kB / 1.146 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/1.492, allocations: 1.403 MB / 1.147 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.492, allocations: 7.922 kB / 1.147 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001325/1.493, allocations: 0.551 MB / 1.148 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002002/1.495, allocations: 1.101 MB / 1.149 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007644/1.496, allocations: 356.2 kB / 1.149 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.496, allocations: 11.89 kB / 1.149 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.497, allocations: 51.92 kB / 1.149 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/1.498, allocations: 7.984 kB / 1.149 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/1.498, allocations: 11.94 kB / 1.149 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of sort global known variables: time 0.001536/1.499, allocations: 0.6708 MB / 1.15 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002118/1.501, allocations: 187.8 kB / 1.15 GB, free: 7.941 MB / 0.7481 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.0004059/1.502, allocations: 169 kB / 1.15 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001485/1.503, allocations: 0.5389 MB / 1.151 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.503, allocations: 0.875 kB / 1.151 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/1.504, allocations: 232.1 kB / 1.151 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.505, allocations: 146.4 kB / 1.151 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/1.509, allocations: 1.248 MB / 1.153 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/1.512, allocations: 1.076 MB / 1.154 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of SimCode: time 4.278e-06/1.512, allocations: 0 / 1.154 GB, free: 4.512 MB / 0.7481 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)