Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.519/1.519, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001134/0.001134, allocations: 181.2 kB / 366.3 MB, free: 2.02 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.397/1.397, allocations: 205.2 MB / 0.6256 GB, free: 5.844 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.0008475/0.0008476, allocations: 87.22 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2928/0.2937, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.9295, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/1.119, allocations: 147.9 MB / 1.117 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.119, allocations: 75.97 kB / 1.117 GB, free: 0.5234 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.1078/1.227, allocations: 28.54 MB / 1.145 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.227, allocations: 8 kB / 1.145 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/1.227, allocations: 102.8 kB / 1.145 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/1.229, allocations: 1.066 MB / 1.146 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.229, allocations: 8 kB / 1.146 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/1.229, allocations: 40 kB / 1.146 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003758/1.23, allocations: 197.2 kB / 1.146 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/1.23, allocations: 353.7 kB / 1.147 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.23, allocations: 3.984 kB / 1.147 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/1.23, allocations: 1.125 kB / 1.147 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/1.23, allocations: 15.94 kB / 1.147 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/1.233, allocations: 2.399 MB / 1.149 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/1.234, allocations: 363.1 kB / 1.149 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/1.234, allocations: 145.3 kB / 1.15 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/1.234, allocations: 4 kB / 1.15 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.234, allocations: 42.56 kB / 1.15 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 2.705e-06/1.234, allocations: 0 / 1.15 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30): time 0.0008338/1.235, allocations: 444.8 kB / 1.15 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/1.235, allocations: 55.41 kB / 1.15 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/1.236, allocations: 0.7701 MB / 1.151 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/1.236, allocations: 25.7 kB / 1.151 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/1.236, allocations: 252.7 kB / 1.151 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/1.236, allocations: 114.3 kB / 1.151 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/1.236, allocations: 0 / 1.151 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.236, allocations: 394.7 kB / 1.152 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/1.237, allocations: 225.9 kB / 1.152 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/1.237, allocations: 0.6189 MB / 1.152 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/1.238, allocations: 323.1 kB / 1.153 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.238, allocations: 11.98 kB / 1.153 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001466/1.239, allocations: 0.8938 MB / 1.154 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.239, allocations: 16.06 kB / 1.154 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.239, allocations: 12 kB / 1.154 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/1.24, allocations: 122.4 kB / 1.154 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/1.241, allocations: 192.5 kB / 1.154 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/1.244, allocations: 4.014 MB / 1.158 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/1.245, allocations: 103.1 kB / 1.158 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/1.245, allocations: 47.91 kB / 1.158 GB, free: 5.621 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.245, allocations: 136.6 kB / 1.158 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/1.246, allocations: 78.97 kB / 1.158 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/1.246, allocations: 76.41 kB / 1.158 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.246, allocations: 4 kB / 1.158 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.246, allocations: 4.656 kB / 1.158 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.246, allocations: 192 / 1.158 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/1.247, allocations: 0.6651 MB / 1.159 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.247, allocations: 0 / 1.159 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/1.247, allocations: 59.95 kB / 1.159 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003247/1.247, allocations: 114.4 kB / 1.159 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/1.247, allocations: 4 kB / 1.159 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/1.251, allocations: 3.993 MB / 1.163 GB, free: 96 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.251, allocations: 0 / 1.163 GB, free: 96 kB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001076/1.252, allocations: 0.7045 MB / 1.164 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001337/1.253, allocations: 1.283 MB / 1.165 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.253, allocations: 211.9 kB / 1.165 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.254, allocations: 8 kB / 1.165 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/1.254, allocations: 35.8 kB / 1.165 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/1.254, allocations: 11.98 kB / 1.165 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/1.254, allocations: 8 kB / 1.165 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0007472/1.255, allocations: 0.5577 MB / 1.166 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001722/1.257, allocations: 280.4 kB / 1.166 GB, free: 12.94 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/1.257, allocations: 171 kB / 1.166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001259/1.258, allocations: 0.8391 MB / 1.167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.258, allocations: 0.5625 kB / 1.167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005467/1.259, allocations: 478.5 kB / 1.167 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/1.26, allocations: 153 kB / 1.168 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/1.262, allocations: 1.396 MB / 1.169 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/1.263, allocations: 1.075 MB / 1.17 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of SimCode: time 2.91e-07/1.263, allocations: 4 kB / 1.17 GB, free: 8.715 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)