Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") [: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.4745/0.4745, allocations: 94.73 MB / 102 MB, free: 10.38 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.001077/0.001078, allocations: 172.7 kB / 125.3 MB, free: 12.01 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.273/1.273, allocations: 170.5 MB / 319 MB, free: 9.355 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.001635/0.001635, allocations: 103.1 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.176e-06/8.206e-06, allocations: 4 kB / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 61.51 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4862, allocations: 92.94 MB / 0.5889 GB, free: 9.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4865, allocations: 71.91 kB / 0.589 GB, free: 9.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003125/0.4897, allocations: 0.7546 MB / 0.5897 GB, free: 8.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.4897, allocations: 3.75 kB / 0.5897 GB, free: 8.641 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004681/0.4902, allocations: 373.8 kB / 0.59 GB, free: 8.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4902, allocations: 8.781 kB / 0.5901 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.4903, allocations: 7.25 kB / 0.5901 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.4904, allocations: 175.5 kB / 0.5902 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4904, allocations: 0 / 0.5902 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4905, allocations: 4 kB / 0.5902 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000122/0.4906, allocations: 35.89 kB / 0.5903 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.4907, allocations: 53.67 kB / 0.5903 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4907, allocations: 0 / 0.5903 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4907, allocations: 1.969 kB / 0.5903 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.4907, allocations: 0 / 0.5903 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.4913, allocations: 313.3 kB / 0.5906 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.4914, allocations: 46.56 kB / 0.5907 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.4915, allocations: 27.83 kB / 0.5907 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.4917, allocations: 101.1 kB / 0.5908 GB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.4917, allocations: 42.56 kB / 0.5908 GB, free: 7.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4918, allocations: 0 / 0.5908 GB, free: 7.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002989/0.4921, allocations: 77.5 kB / 0.5909 GB, free: 7.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.4921, allocations: 51.41 kB / 0.591 GB, free: 7.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.4922, allocations: 114.9 kB / 0.5911 GB, free: 7.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4923, allocations: 29.7 kB / 0.5911 GB, free: 7.027 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4923, allocations: 88.12 kB / 0.5912 GB, free: 6.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4924, allocations: 11.81 kB / 0.5912 GB, free: 6.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.4924, allocations: 0 / 0.5912 GB, free: 6.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4925, allocations: 318.8 kB / 0.5915 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.4926, allocations: 15.98 kB / 0.5915 GB, free: 6.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.4926, allocations: 16 kB / 0.5915 GB, free: 6.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.912e-05/0.4927, allocations: 24.72 kB / 0.5915 GB, free: 6.551 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4927, allocations: 0 / 0.5915 GB, free: 6.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001604/0.4929, allocations: 84.23 kB / 0.5916 GB, free: 6.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4929, allocations: 4 kB / 0.5916 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4929, allocations: 0 / 0.5916 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4929, allocations: 4 kB / 0.5916 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.4931, allocations: 27.92 kB / 0.5917 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4931, allocations: 0 / 0.5917 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.915e-05/0.4932, allocations: 21.02 kB / 0.5917 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.4932, allocations: 3.984 kB / 0.5917 GB, free: 6.406 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 (3): * Single equations (assignments): 3 * 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.585e-05/0.4933, allocations: 108.9 kB / 0.5918 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.4933, allocations: 0 / 0.5918 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.4936, allocations: 93.55 kB / 0.5919 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4936, allocations: 8 kB / 0.5919 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4936, allocations: 0 / 0.5919 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4936, allocations: 0 / 0.5919 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4938, allocations: 158.2 kB / 0.592 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.4938, allocations: 0 / 0.592 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.4939, allocations: 19.98 kB / 0.5921 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4939, allocations: 7.469 kB / 0.5921 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4939, allocations: 4 kB / 0.5921 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.494, allocations: 6.891 kB / 0.5921 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.494, allocations: 3.906 kB / 0.5921 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000195/0.4942, allocations: 171.4 kB / 0.5922 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.4942, allocations: 81.11 kB / 0.5923 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4943, allocations: 7.891 kB / 0.5923 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4944, allocations: 23.05 kB / 0.5923 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.4944, allocations: 0 / 0.5923 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4945, allocations: 4 kB / 0.5923 GB, free: 5.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.983e-05/0.4945, allocations: 107.1 kB / 0.5924 GB, free: 5.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.4947, allocations: 11.94 kB / 0.5925 GB, free: 5.531 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 (3): * Single equations (assignments): 3 * 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.0001429/0.4949, allocations: 107.8 kB / 0.5926 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.495, allocations: 31.94 kB / 0.5926 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.495, allocations: 0 / 0.5926 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.4951, allocations: 16 kB / 0.5926 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.4952, allocations: 11.98 kB / 0.5926 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.4955, allocations: 81.38 kB / 0.5927 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.4959, allocations: 0.711 MB / 0.5934 GB, free: 4.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4959, allocations: 0 / 0.5934 GB, free: 4.52 MB / 410.7 MB Notification: Performance of Templates: time 0.002706/0.4986, allocations: 0.7346 MB / 0.5941 GB, free: 3.805 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)