Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") [: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.4941/0.4941, allocations: 94.74 MB / 102 MB, free: 10.35 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.001196/0.001196, allocations: 181.8 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.238/1.238, allocations: 170.5 MB / 319 MB, free: 9.418 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.001643/0.001643, allocations: 105.2 kB / 381 MB, free: 18.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.401e-05, allocations: 4 kB / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 61.51 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2995/0.421, allocations: 92.9 MB / 0.5888 GB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.4215, allocations: 68.91 kB / 0.5889 GB, free: 9.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.002148/0.4236, allocations: 475 kB / 0.5894 GB, free: 8.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.4237, allocations: 0 / 0.5894 GB, free: 8.977 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000406/0.4241, allocations: 336.9 kB / 0.5897 GB, free: 8.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.4241, allocations: 12.25 kB / 0.5897 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.4242, allocations: 2.438 kB / 0.5897 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4244, allocations: 165.7 kB / 0.5898 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4244, allocations: 1.312 kB / 0.5898 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.4245, allocations: 0 / 0.5898 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.125e-05/0.4246, allocations: 12 kB / 0.5899 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.764e-05/0.4247, allocations: 45.53 kB / 0.5899 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4247, allocations: 0.8125 kB / 0.5899 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4247, allocations: 1.406 kB / 0.5899 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4247, allocations: 0.5 kB / 0.5899 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.4252, allocations: 253.1 kB / 0.5901 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.4253, allocations: 28.52 kB / 0.5902 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.4253, allocations: 12.83 kB / 0.5902 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.4257, allocations: 415.2 kB / 0.5906 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4257, allocations: 30.56 kB / 0.5906 GB, free: 7.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4257, allocations: 1.156 kB / 0.5906 GB, free: 7.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.4259, allocations: 41.64 kB / 0.5907 GB, free: 7.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.426, allocations: 58.41 kB / 0.5907 GB, free: 7.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.426, allocations: 99.58 kB / 0.5908 GB, free: 7.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4261, allocations: 25.7 kB / 0.5908 GB, free: 7.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.4261, allocations: 80.89 kB / 0.5909 GB, free: 7.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.4261, allocations: 11.84 kB / 0.5909 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.4262, allocations: 4.031 kB / 0.5909 GB, free: 7.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4263, allocations: 314.8 kB / 0.5912 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.4263, allocations: 4 kB / 0.5912 GB, free: 6.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.4263, allocations: 11.98 kB / 0.5912 GB, free: 6.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.4264, allocations: 0 / 0.5912 GB, free: 6.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4264, allocations: 3.906 kB / 0.5912 GB, free: 6.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.4265, allocations: 41.7 kB / 0.5913 GB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4265, allocations: 7.938 kB / 0.5913 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4265, allocations: 4 kB / 0.5913 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4265, allocations: 4.094 kB / 0.5913 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4266, allocations: 11.98 kB / 0.5913 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.4266, allocations: 0 / 0.5913 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.4267, allocations: 11.98 kB / 0.5913 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4267, allocations: 0 / 0.5913 GB, free: 6.707 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.615e-05/0.4268, allocations: 108.9 kB / 0.5914 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.4269, allocations: 6.625 kB / 0.5914 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.427, allocations: 53.27 kB / 0.5915 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.427, allocations: 0 / 0.5915 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.427, allocations: 10.28 kB / 0.5915 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.427, allocations: 0 / 0.5915 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.4272, allocations: 140.8 kB / 0.5916 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4272, allocations: 3.984 kB / 0.5916 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.4272, allocations: 12.03 kB / 0.5916 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4273, allocations: 6.891 kB / 0.5916 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.4273, allocations: 4 kB / 0.5916 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4273, allocations: 0 / 0.5916 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4273, allocations: 0 / 0.5916 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001339/0.4274, allocations: 143.5 kB / 0.5918 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.4275, allocations: 81.02 kB / 0.5919 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.4275, allocations: 0 / 0.5919 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.4276, allocations: 11.98 kB / 0.5919 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.4276, allocations: 0 / 0.5919 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.4276, allocations: 0 / 0.5919 GB, free: 6.066 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.172e-05/0.4277, allocations: 88.77 kB / 0.592 GB, free: 5.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.4279, allocations: 12.03 kB / 0.592 GB, free: 5.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.4281, allocations: 95.25 kB / 0.5921 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.4282, allocations: 19.94 kB / 0.5921 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4282, allocations: 0 / 0.5921 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.4282, allocations: 8 kB / 0.5921 GB, free: 5.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4284, allocations: 0.625 kB / 0.5921 GB, free: 5.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.4286, allocations: 61.47 kB / 0.5921 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.429, allocations: 0.6958 MB / 0.5928 GB, free: 5.035 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.429, allocations: 0 / 0.5928 GB, free: 5.035 MB / 410.7 MB Notification: Performance of Templates: time 0.002547/0.4315, allocations: 0.5572 MB / 0.5934 GB, free: 4.508 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)