Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6874/0.6874, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 189.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.1 MB / 399.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 89.53 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.639e-06/9.658e-06, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1797, allocations: 76.74 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.6446, allocations: 101.8 MB / 0.7203 GB, free: 10.64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.645, allocations: 71.95 kB / 0.7204 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003323/0.6483, allocations: 0.7905 MB / 0.7212 GB, free: 9.785 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.6484, allocations: 0 / 0.7212 GB, free: 9.785 MB / 490.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.0004469/0.6488, allocations: 374.3 kB / 0.7215 GB, free: 9.375 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6489, allocations: 16.02 kB / 0.7215 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.6489, allocations: 3.906 kB / 0.7215 GB, free: 9.355 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6491, allocations: 170.9 kB / 0.7217 GB, free: 9.148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.6491, allocations: 8 kB / 0.7217 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.6491, allocations: 0 / 0.7217 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.6492, allocations: 31.98 kB / 0.7217 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.6493, allocations: 57.53 kB / 0.7218 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6493, allocations: 0 / 0.7218 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6494, allocations: 0 / 0.7218 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6494, allocations: 3.984 kB / 0.7218 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.65, allocations: 309.4 kB / 0.7221 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.6501, allocations: 46.56 kB / 0.7221 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.6501, allocations: 22.17 kB / 0.7221 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.6503, allocations: 105.2 kB / 0.7222 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.6504, allocations: 38.5 kB / 0.7223 GB, free: 8.457 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.6504, allocations: 0 / 0.7223 GB, free: 8.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002816/0.6507, allocations: 82.22 kB / 0.7224 GB, free: 8.371 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.6507, allocations: 51.41 kB / 0.7224 GB, free: 8.309 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6508, allocations: 113 kB / 0.7225 GB, free: 8.191 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.6508, allocations: 25.7 kB / 0.7225 GB, free: 8.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.6509, allocations: 80.14 kB / 0.7226 GB, free: 8.078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6509, allocations: 11.91 kB / 0.7226 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.6509, allocations: 6.188 kB / 0.7226 GB, free: 8.062 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6511, allocations: 318.7 kB / 0.7229 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.6511, allocations: 20 kB / 0.723 GB, free: 7.723 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.6512, allocations: 15.98 kB / 0.723 GB, free: 7.707 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.6512, allocations: 23.97 kB / 0.723 GB, free: 7.684 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6513, allocations: 0 / 0.723 GB, free: 7.684 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001684/0.6514, allocations: 81.52 kB / 0.7231 GB, free: 7.598 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.6514, allocations: 4 kB / 0.7231 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6515, allocations: 0 / 0.7231 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6515, allocations: 8 kB / 0.7231 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6516, allocations: 23.97 kB / 0.7231 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6517, allocations: 0 / 0.7231 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-05/0.6518, allocations: 19.98 kB / 0.7231 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.6518, allocations: 4 kB / 0.7231 GB, free: 7.539 MB / 490.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 6.774e-05/0.6519, allocations: 101 kB / 0.7232 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.6519, allocations: 7.906 kB / 0.7232 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.6521, allocations: 90.19 kB / 0.7233 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6522, allocations: 0 / 0.7233 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6522, allocations: 8.781 kB / 0.7233 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6522, allocations: 3.938 kB / 0.7233 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.6524, allocations: 166.1 kB / 0.7235 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6524, allocations: 0 / 0.7235 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.6525, allocations: 27.97 kB / 0.7235 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6525, allocations: 4 kB / 0.7235 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.6525, allocations: 1.188 kB / 0.7235 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6525, allocations: 0 / 0.7235 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6525, allocations: 3.984 kB / 0.7235 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002107/0.6528, allocations: 175.6 kB / 0.7237 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.6528, allocations: 89.05 kB / 0.7238 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.6528, allocations: 48 / 0.7238 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.653, allocations: 27.88 kB / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.653, allocations: 7.984 kB / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.653, allocations: 4 kB / 0.7238 GB, free: 6.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.066e-05/0.6531, allocations: 97.27 kB / 0.7239 GB, free: 6.656 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.6533, allocations: 16 kB / 0.7239 GB, free: 6.641 MB / 490.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.0001861/0.6535, allocations: 103.2 kB / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.6537, allocations: 35.98 kB / 0.7241 GB, free: 6.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.6537, allocations: 0 / 0.7241 GB, free: 6.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.6537, allocations: 20 kB / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.6539, allocations: 0 / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.6542, allocations: 95.8 kB / 0.7242 GB, free: 6.355 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.6545, allocations: 0.7032 MB / 0.7249 GB, free: 5.629 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6545, allocations: 0 / 0.7249 GB, free: 5.629 MB / 490.7 MB Notification: Performance of Templates: time 0.002761/0.6572, allocations: 0.7525 MB / 0.7256 GB, free: 4.887 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)