Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse") [: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 1.6.0+build.1/package.mo): time 0.4958/0.4958, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001144/0.001144, allocations: 192.5 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.469/1.469, allocations: 170.5 MB / 319 MB, free: 9.344 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001593/0.001593, allocations: 113.7 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.454e-06, allocations: 224 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 61.51 MB / 0.4981 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.5341, allocations: 105.9 MB / 0.6015 GB, free: 12.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5344, allocations: 73.47 kB / 0.6016 GB, free: 12.43 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Conduction/BaseClasses/PartialConstruction.mo:13:38-13:43:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.1231/0.6575, allocations: 40.9 MB / 0.6415 GB, free: 3.621 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001989/0.6578, allocations: 31.98 kB / 0.6415 GB, free: 3.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003208/0.661, allocations: 1.221 MB / 0.6427 GB, free: 2.312 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.6611, allocations: 16.72 kB / 0.6427 GB, free: 2.297 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.6617, allocations: 154.1 kB / 0.6429 GB, free: 2.145 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.6649, allocations: 1.194 MB / 0.644 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/0.665, allocations: 46.7 kB / 0.6441 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.6652, allocations: 44 kB / 0.6441 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006711/0.6659, allocations: 317.8 kB / 0.6444 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.6666, allocations: 384.5 kB / 0.6448 GB, free: 120 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6667, allocations: 4 kB / 0.6448 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.6667, allocations: 3.906 kB / 0.6448 GB, free: 112 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.6667, allocations: 8 kB / 0.6448 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/0.6715, allocations: 2.428 MB / 0.6472 GB, free: 13.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.6721, allocations: 282.4 kB / 0.6475 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.6725, allocations: 197.2 kB / 0.6476 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.6725, allocations: 11.94 kB / 0.6477 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.6726, allocations: 38.55 kB / 0.6477 GB, free: 12.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=36): time 3.727e-06/0.6726, allocations: 3.938 kB / 0.6477 GB, free: 12.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=36): time 0.001367/0.6739, allocations: 0.5589 MB / 0.6482 GB, free: 12.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.674, allocations: 59.41 kB / 0.6483 GB, free: 12.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.6762, allocations: 1.287 MB / 0.6496 GB, free: 11.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.6763, allocations: 27.02 kB / 0.6496 GB, free: 11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.6767, allocations: 317.5 kB / 0.6499 GB, free: 10.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.677, allocations: 122.1 kB / 0.65 GB, free: 10.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.677, allocations: 0 / 0.65 GB, free: 10.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6772, allocations: 357.9 kB / 0.6503 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.6776, allocations: 282.5 kB / 0.6506 GB, free: 9.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.6785, allocations: 0.8566 MB / 0.6515 GB, free: 8.785 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.6792, allocations: 425.1 kB / 0.6519 GB, free: 8.371 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.6793, allocations: 8 kB / 0.6519 GB, free: 8.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002367/0.6816, allocations: 1.22 MB / 0.6531 GB, free: 7.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6817, allocations: 4 kB / 0.6531 GB, free: 7.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/0.6817, allocations: 26.62 kB / 0.6531 GB, free: 7.102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.6823, allocations: 170.4 kB / 0.6532 GB, free: 6.926 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.6832, allocations: 243.6 kB / 0.6535 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/0.6875, allocations: 4.324 MB / 0.6577 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.6892, allocations: 154.6 kB / 0.6579 GB, free: 1.871 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6893, allocations: 60.06 kB / 0.6579 GB, free: 1.812 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 117 * 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%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.6895, allocations: 148.4 kB / 0.658 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.6899, allocations: 122.4 kB / 0.6582 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.6902, allocations: 104.5 kB / 0.6583 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6902, allocations: 7.906 kB / 0.6583 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.6903, allocations: 2.75 kB / 0.6583 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.6903, allocations: 11.98 kB / 0.6583 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.6918, allocations: 0.9001 MB / 0.6592 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6918, allocations: 0 / 0.6592 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.6922, allocations: 67.89 kB / 0.6592 GB, free: 408 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.6927, allocations: 142.5 kB / 0.6594 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.6927, allocations: 7.906 kB / 0.6594 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00413/0.6969, allocations: 4.295 MB / 0.6636 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6969, allocations: 0 / 0.6636 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001511/0.6984, allocations: 0.8498 MB / 0.6644 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.6997, allocations: 0.9451 MB / 0.6653 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.7, allocations: 7.844 kB / 0.6653 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.7011, allocations: 59.91 kB / 0.6654 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.7012, allocations: 15.98 kB / 0.6654 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.7013, allocations: 11.98 kB / 0.6654 GB, free: 9.555 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001866/0.7031, allocations: 0.9327 MB / 0.6663 GB, free: 8.621 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001825/0.705, allocations: 379.5 kB / 0.6667 GB, free: 8.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].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 (25): * Single equations (assignments): 22 * 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%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000444/0.7054, allocations: 208.3 kB / 0.6669 GB, free: 8.039 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.7073, allocations: 0.9788 MB / 0.6678 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.7073, allocations: 0 / 0.6678 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.7081, allocations: 0.5249 MB / 0.6684 GB, free: 6.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.7097, allocations: 285.4 kB / 0.6686 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.714, allocations: 1.87 MB / 0.6704 GB, free: 4.312 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/0.7154, allocations: 1.328 MB / 0.6717 GB, free: 2.961 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7154, allocations: 0 / 0.6717 GB, free: 2.961 MB / 490.7 MB Notification: Performance of Templates: time 0.02787/0.7433, allocations: 13.6 MB / 0.685 GB, free: 5.633 MB / 0.4948 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1)