Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.551/1.551, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.001051/0.001051, allocations: 181.2 kB / 366.3 MB, free: 2.031 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.439/1.439, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0008874/0.0008872, allocations: 88.84 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2659/0.2668, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.9302, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/1.122, allocations: 147.9 MB / 1.117 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.123, allocations: 80.69 kB / 1.117 GB, free: 0.5078 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.107/1.23, allocations: 28.58 MB / 1.145 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.23, allocations: 8 kB / 1.145 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/1.231, allocations: 130.4 kB / 1.145 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/1.235, allocations: 1.557 MB / 1.147 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/1.235, allocations: 16 kB / 1.147 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/1.235, allocations: 40 kB / 1.147 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001267/1.237, allocations: 0.6265 MB / 1.147 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/1.238, allocations: 0.6245 MB / 1.148 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/1.238, allocations: 0 / 1.148 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/1.238, allocations: 0 / 1.148 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/1.238, allocations: 11.91 kB / 1.148 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/1.243, allocations: 2.607 MB / 1.151 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.244, allocations: 0.6543 MB / 1.151 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/1.244, allocations: 401.4 kB / 1.152 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/1.244, allocations: 28.36 kB / 1.152 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/1.244, allocations: 42.88 kB / 1.152 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/1.244, allocations: 0 / 1.152 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.001785/1.246, allocations: 0.8961 MB / 1.153 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/1.246, allocations: 60.81 kB / 1.153 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/1.248, allocations: 0.987 MB / 1.154 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.694e-05/1.248, allocations: 33.7 kB / 1.154 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/1.248, allocations: 292.7 kB / 1.154 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/1.248, allocations: 169.6 kB / 1.154 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/1.248, allocations: 0 / 1.154 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.249, allocations: 349.8 kB / 1.154 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/1.249, allocations: 0.5411 MB / 1.155 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009293/1.25, allocations: 0.8556 MB / 1.156 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/1.252, allocations: 0.7574 MB / 1.156 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.252, allocations: 4 kB / 1.156 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003265/1.255, allocations: 1.7 MB / 1.158 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.255, allocations: 4 kB / 1.158 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/1.255, allocations: 12 kB / 1.158 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/1.255, allocations: 44.84 kB / 1.158 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.257, allocations: 356.8 kB / 1.158 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/1.262, allocations: 6.986 MB / 1.165 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.264, allocations: 126.6 kB / 1.165 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.264, allocations: 63.98 kB / 1.165 GB, free: 14.08 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.000221/1.264, allocations: 136.7 kB / 1.166 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/1.265, allocations: 110.6 kB / 1.166 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/1.267, allocations: 1.074 MB / 1.167 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/1.267, allocations: 4 kB / 1.167 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.267, allocations: 3.984 kB / 1.167 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/1.267, allocations: 6.047 kB / 1.167 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/1.268, allocations: 0.8983 MB / 1.168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.268, allocations: 0 / 1.168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/1.269, allocations: 123.8 kB / 1.168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/1.269, allocations: 28.84 kB / 1.168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/1.269, allocations: 19.98 kB / 1.168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009582/1.27, allocations: 1.299 MB / 1.169 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.27, allocations: 4.031 kB / 1.169 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002197/1.272, allocations: 1.557 MB / 1.171 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00307/1.275, allocations: 2.514 MB / 1.173 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/1.276, allocations: 369.4 kB / 1.173 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/1.276, allocations: 8 kB / 1.173 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/1.277, allocations: 43.84 kB / 1.173 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/1.277, allocations: 35.89 kB / 1.174 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/1.277, allocations: 28 kB / 1.174 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001225/1.279, allocations: 0.7141 MB / 1.174 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002132/1.281, allocations: 375.5 kB / 1.175 GB, free: 4.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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.0007659/1.282, allocations: 280.7 kB / 1.175 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002713/1.284, allocations: 1.509 MB / 1.176 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.284, allocations: 0.8125 kB / 1.176 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005465/1.285, allocations: 461.4 kB / 1.177 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.286, allocations: 192.8 kB / 1.177 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/1.29, allocations: 2.117 MB / 1.179 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.291, allocations: 1.227 MB / 1.18 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of SimCode: time 7.91e-07/1.291, allocations: 4 kB / 1.18 GB, free: 14.66 MB / 0.7917 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)