Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.126/2.126, allocations: 390.4 MB / 397.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 180.3 kB / 490.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 84.67 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6141/0.6152, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.8789, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6984/1.577, allocations: 159 MB / 1.367 GB, free: 17.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/1.578, allocations: 75.27 kB / 1.367 GB, free: 17.05 MB / 0.823 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.1082/1.686, allocations: 28.87 MB / 1.395 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.686, allocations: 9.188 kB / 1.395 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.687, allocations: 143.2 kB / 1.395 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006411/1.693, allocations: 1.556 MB / 1.397 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/1.694, allocations: 16.86 kB / 1.397 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003858/1.694, allocations: 47.09 kB / 1.397 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001702/1.696, allocations: 0.6313 MB / 1.397 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/1.698, allocations: 0.6139 MB / 1.398 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/1.698, allocations: 0.75 kB / 1.398 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/1.698, allocations: 0.8125 kB / 1.398 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/1.698, allocations: 13.81 kB / 1.398 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006479/1.704, allocations: 2.599 MB / 1.401 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/1.705, allocations: 0.6562 MB / 1.401 GB, free: 22.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/1.706, allocations: 401.4 kB / 1.402 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/1.706, allocations: 24.03 kB / 1.402 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.706, allocations: 37.16 kB / 1.402 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 3.847e-06/1.706, allocations: 0 / 1.402 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001888/1.708, allocations: 0.9019 MB / 1.403 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/1.708, allocations: 63.41 kB / 1.403 GB, free: 21.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/1.71, allocations: 0.9854 MB / 1.404 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/1.711, allocations: 29.7 kB / 1.404 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/1.711, allocations: 294 kB / 1.404 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/1.711, allocations: 166.7 kB / 1.404 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/1.711, allocations: 0 / 1.404 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.711, allocations: 345.7 kB / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/1.712, allocations: 0.544 MB / 1.405 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/1.713, allocations: 0.8647 MB / 1.406 GB, free: 18.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/1.714, allocations: 0.7528 MB / 1.407 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.714, allocations: 4 kB / 1.407 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002593/1.717, allocations: 1.701 MB / 1.408 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.717, allocations: 6.812 kB / 1.408 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/1.717, allocations: 12.78 kB / 1.408 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/1.717, allocations: 52.58 kB / 1.408 GB, free: 17.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.719, allocations: 353.8 kB / 1.409 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/1.723, allocations: 6.984 MB / 1.415 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.725, allocations: 122.6 kB / 1.416 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.725, allocations: 66.11 kB / 1.416 GB, free: 9.582 MB / 0.8386 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.0002215/1.725, allocations: 143.5 kB / 1.416 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/1.725, allocations: 110.6 kB / 1.416 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.727, allocations: 1.068 MB / 1.417 GB, free: 8.473 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.727, allocations: 4 kB / 1.417 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/1.727, allocations: 0 / 1.417 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.727, allocations: 7.938 kB / 1.417 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/1.729, allocations: 0.9051 MB / 1.418 GB, free: 7.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.729, allocations: 4 kB / 1.418 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/1.729, allocations: 115 kB / 1.418 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/1.73, allocations: 31.53 kB / 1.418 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/1.73, allocations: 15.98 kB / 1.418 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000909/1.731, allocations: 1.303 MB / 1.419 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.731, allocations: 8.188 kB / 1.419 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002036/1.733, allocations: 1.551 MB / 1.421 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002779/1.735, allocations: 2.515 MB / 1.423 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/1.736, allocations: 372 kB / 1.424 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.736, allocations: 7.984 kB / 1.424 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/1.737, allocations: 35.89 kB / 1.424 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.737, allocations: 35.11 kB / 1.424 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/1.737, allocations: 34.8 kB / 1.424 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001049/1.738, allocations: 0.7156 MB / 1.424 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00194/1.74, allocations: 370.5 kB / 1.425 GB, free: 1.594 MB / 0.8386 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.0005988/1.741, allocations: 287.8 kB / 1.425 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002392/1.743, allocations: 1.504 MB / 1.426 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.743, allocations: 4 kB / 1.426 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004881/1.744, allocations: 460.2 kB / 1.427 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/1.745, allocations: 194.8 kB / 1.427 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/1.748, allocations: 2.106 MB / 1.429 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.749, allocations: 1.221 MB / 1.43 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of SimCode: time 2.505e-06/1.749, allocations: 4 kB / 1.43 GB, free: 12.46 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)