Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.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.Fluid.FixedResistances.Examples.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") [: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.501/0.501, allocations: 94.74 MB / 102 MB, free: 10.34 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.001321/0.001321, allocations: 181.5 kB / 125.3 MB, free: 11.98 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.327/1.327, allocations: 170.5 MB / 319 MB, free: 9.52 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.001634/0.001635, allocations: 105 kB / 381 MB, free: 18.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.088e-06, allocations: 4 kB / 448.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 61.52 MB / 0.4981 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8967/1.045, allocations: 375.9 MB / 0.8652 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.046, allocations: 84.34 kB / 0.8653 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.178/3.224, allocations: 0.593 GB / 1.458 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002726/3.224, allocations: 54 kB / 1.458 GB, free: 50.94 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004873/3.229, allocations: 1.553 MB / 1.46 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/3.229, allocations: 10.28 kB / 1.46 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/3.231, allocations: 204.4 kB / 1.46 GB, free: 49.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1027/3.333, allocations: 37.55 MB / 1.497 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/3.333, allocations: 97.41 kB / 1.497 GB, free: 16.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/3.333, allocations: 56.56 kB / 1.497 GB, free: 16.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/3.334, allocations: 0.5311 MB / 1.497 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/3.336, allocations: 0.8258 MB / 1.498 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/3.336, allocations: 0 / 1.498 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/3.336, allocations: 4 kB / 1.498 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/3.336, allocations: 32.3 kB / 1.498 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005049/3.341, allocations: 4.485 MB / 1.503 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/3.341, allocations: 321.7 kB / 1.503 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/3.342, allocations: 154.2 kB / 1.503 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/3.342, allocations: 0.4976 MB / 1.504 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/3.342, allocations: 46.95 kB / 1.504 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/3.342, allocations: 0 / 1.504 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.001274/3.343, allocations: 472.5 kB / 1.504 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/3.343, allocations: 265 kB / 1.504 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/3.344, allocations: 0.7027 MB / 1.505 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/3.344, allocations: 25.7 kB / 1.505 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/3.344, allocations: 487.2 kB / 1.506 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/3.344, allocations: 145.8 kB / 1.506 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/3.344, allocations: 0 / 1.506 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/3.344, allocations: 337.9 kB / 1.506 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/3.345, allocations: 117.2 kB / 1.506 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/3.345, allocations: 488.1 kB / 1.507 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/3.346, allocations: 361.1 kB / 1.507 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/3.346, allocations: 0 / 1.507 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001708/3.348, allocations: 0.7367 MB / 1.508 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00055/3.348, allocations: 3.01 MB / 1.511 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/3.348, allocations: 8 kB / 1.511 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/3.349, allocations: 65.69 kB / 1.511 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/3.35, allocations: 259.6 kB / 1.511 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/3.352, allocations: 2.433 MB / 1.513 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/3.353, allocations: 79.58 kB / 1.513 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/3.353, allocations: 31.91 kB / 1.513 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/3.353, allocations: 4 kB / 1.513 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/3.355, allocations: 0.6104 MB / 1.514 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/3.355, allocations: 8 kB / 1.514 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/3.355, allocations: 61.97 kB / 1.514 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009171/3.356, allocations: 204.2 kB / 1.514 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/3.358, allocations: 2.74 MB / 1.517 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/3.359, allocations: 67.67 kB / 1.517 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/3.359, allocations: 31.98 kB / 1.517 GB, free: 10.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003515/3.36, allocations: 132.8 kB / 1.517 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/3.36, allocations: 118.5 kB / 1.517 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/3.362, allocations: 0.6468 MB / 1.518 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/3.362, allocations: 4 kB / 1.518 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/3.362, allocations: 8 kB / 1.518 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/3.362, allocations: 3.984 kB / 1.518 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/3.365, allocations: 1.542 MB / 1.519 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/3.365, allocations: 4 kB / 1.519 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/3.367, allocations: 233.4 kB / 1.52 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/3.367, allocations: 45.7 kB / 1.52 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/3.367, allocations: 4 kB / 1.52 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/3.37, allocations: 3.702 MB / 1.523 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/3.37, allocations: 0 / 1.523 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001898/3.372, allocations: 0.8612 MB / 1.524 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/3.372, allocations: 179.5 kB / 1.524 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/3.372, allocations: 4 kB / 1.524 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/3.373, allocations: 63.8 kB / 1.524 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/3.373, allocations: 31.95 kB / 1.524 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/3.373, allocations: 32.02 kB / 1.524 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0007805/3.374, allocations: 0.5191 MB / 1.525 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002332/3.377, allocations: 0.678 MB / 1.526 GB, free: 1.273 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {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: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/3.378, allocations: 0.7341 MB / 1.526 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3026/3.681, allocations: 0.9333 MB / 1.527 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/3.681, allocations: 448 / 1.527 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/3.682, allocations: 358.8 kB / 1.528 GB, free: 121 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/3.684, allocations: 427.4 kB / 1.528 GB, free: 121 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/3.687, allocations: 1.299 MB / 1.529 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/3.688, allocations: 1.257 MB / 1.53 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/3.688, allocations: 0 / 1.53 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.04074/3.728, allocations: 24.35 MB / 1.554 GB, free: 119.5 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe 2>&1)