Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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 8.0.1-maint.8.0.x/package.mo): time 1.361/1.361, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 185.3 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.065/1.065, allocations: 205.1 MB / 0.6195 GB, free: 11.96 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007616/0.0007616, allocations: 99.05 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.454e-06, allocations: 4 kB / 0.8511 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4813, allocations: 115.3 MB / 0.9637 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.6265, allocations: 137.2 MB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.6268, allocations: 69.91 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003014/0.6298, allocations: 0.7871 MB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6298, allocations: 0 / 1.098 GB, free: 2.098 MB / 0.698 GB 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.0004201/0.6302, allocations: 378.2 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6303, allocations: 12.03 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.6303, allocations: 5.219 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.6305, allocations: 177.1 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.6305, allocations: 7.906 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.6305, allocations: 0 / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001256/0.6306, allocations: 40.92 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.6308, allocations: 48.97 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6308, allocations: 3.938 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.6308, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6308, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.6313, allocations: 309.4 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.6314, allocations: 47.78 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.6315, allocations: 23.11 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.6316, allocations: 111.4 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.6317, allocations: 30.56 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6317, allocations: 4 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002406/0.6319, allocations: 77.52 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.632, allocations: 55.39 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.632, allocations: 109 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.6321, allocations: 25.7 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.6321, allocations: 88.12 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.6321, allocations: 11.81 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.6321, allocations: 0 / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.6322, allocations: 322.8 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.6323, allocations: 16 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.6323, allocations: 15.98 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/0.6324, allocations: 20.88 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6324, allocations: 0 / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001653/0.6326, allocations: 81.56 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.6326, allocations: 4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6326, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6326, allocations: 7.938 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.6327, allocations: 27.97 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.6328, allocations: 3.938 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.6329, allocations: 19.98 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.6329, allocations: 6.188 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB 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.265e-05/0.633, allocations: 104.9 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.633, allocations: 7.906 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.6332, allocations: 94.81 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6332, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.6332, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6332, allocations: 1.219 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.6334, allocations: 158.2 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6334, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.6335, allocations: 31.91 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6335, allocations: 3.906 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.6335, allocations: 1.438 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.6335, allocations: 4 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6335, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001806/0.6337, allocations: 172.8 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.6338, allocations: 88.95 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.6338, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.6339, allocations: 19.98 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.634, allocations: 7.984 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.634, allocations: 0.75 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.301e-05/0.634, allocations: 102.8 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002058/0.6342, allocations: 12 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB 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.0001203/0.6344, allocations: 99.03 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.6345, allocations: 39.92 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6345, allocations: 4 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.6345, allocations: 16 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.6347, allocations: 11.66 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.635, allocations: 96.61 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.6353, allocations: 0.7 MB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.685e-06/0.6353, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.002738/0.638, allocations: 0.7445 MB / 1.103 GB, free: 13.24 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)