Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7288/0.7288, allocations: 141.8 MB / 149.1 MB, free: 15.48 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 179.8 kB / 182 MB, free: 11.86 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 436 MB, free: 4.426 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 92.39 kB / 0.507 GB, free: 18.89 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 285.2 kB / 0.5885 GB, free: 5.793 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.719e-06/9.749e-06, allocations: 3.219 kB / 0.6759 GB, free: 138.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1751, allocations: 82.77 MB / 0.7567 GB, free: 86.93 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.3074, allocations: 107.9 MB / 0.8621 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3076, allocations: 79.94 kB / 0.8621 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.003211/0.3108, allocations: 0.7903 MB / 0.8629 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.3109, allocations: 0 / 0.8629 GB, free: 10.05 MB / 0.5419 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.0005596/0.3114, allocations: 374.3 kB / 0.8633 GB, free: 9.637 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.3115, allocations: 9.031 kB / 0.8633 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.3116, allocations: 7.906 kB / 0.8633 GB, free: 9.621 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3117, allocations: 182.9 kB / 0.8635 GB, free: 9.402 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3118, allocations: 0 / 0.8635 GB, free: 9.402 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3118, allocations: 7.938 kB / 0.8635 GB, free: 9.395 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001436/0.3119, allocations: 31.89 kB / 0.8635 GB, free: 9.359 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.3121, allocations: 53.67 kB / 0.8636 GB, free: 9.301 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3121, allocations: 4 kB / 0.8636 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3121, allocations: 0 / 0.8636 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3121, allocations: 0 / 0.8636 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.3129, allocations: 305.3 kB / 0.8638 GB, free: 8.961 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.3131, allocations: 50.5 kB / 0.8639 GB, free: 8.902 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.3132, allocations: 24.94 kB / 0.8639 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.3135, allocations: 109.1 kB / 0.864 GB, free: 8.75 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3136, allocations: 30.56 kB / 0.8641 GB, free: 8.711 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.3136, allocations: 0 / 0.8641 GB, free: 8.711 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0004453/0.3141, allocations: 81.56 kB / 0.8641 GB, free: 8.625 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3141, allocations: 51.41 kB / 0.8642 GB, free: 8.562 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3143, allocations: 112.5 kB / 0.8643 GB, free: 8.449 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3143, allocations: 25.7 kB / 0.8643 GB, free: 8.418 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.3144, allocations: 88.14 kB / 0.8644 GB, free: 8.328 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3144, allocations: 15.8 kB / 0.8644 GB, free: 8.312 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.3145, allocations: 3.938 kB / 0.8644 GB, free: 8.309 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3146, allocations: 318.8 kB / 0.8647 GB, free: 7.988 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.3147, allocations: 15.98 kB / 0.8647 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.3147, allocations: 12 kB / 0.8647 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3148, allocations: 31.97 kB / 0.8648 GB, free: 7.93 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3149, allocations: 0 / 0.8648 GB, free: 7.93 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001835/0.315, allocations: 81.5 kB / 0.8649 GB, free: 7.844 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3151, allocations: 4.938 kB / 0.8649 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3151, allocations: 4 kB / 0.8649 GB, free: 7.836 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3151, allocations: 0 / 0.8649 GB, free: 7.836 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3153, allocations: 19.98 kB / 0.8649 GB, free: 7.816 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3153, allocations: 4 kB / 0.8649 GB, free: 7.812 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.3154, allocations: 19.98 kB / 0.8649 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3154, allocations: 0 / 0.8649 GB, free: 7.793 MB / 0.5419 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 8.656e-05/0.3155, allocations: 116.9 kB / 0.865 GB, free: 7.672 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3156, allocations: 0 / 0.865 GB, free: 7.672 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3158, allocations: 93.5 kB / 0.8651 GB, free: 7.574 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3158, allocations: 4 kB / 0.8651 GB, free: 7.57 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3158, allocations: 11.92 kB / 0.8651 GB, free: 7.559 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3158, allocations: 0 / 0.8651 GB, free: 7.559 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.316, allocations: 154.2 kB / 0.8653 GB, free: 7.371 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.316, allocations: 0 / 0.8653 GB, free: 7.371 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.3162, allocations: 23.98 kB / 0.8653 GB, free: 7.348 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3162, allocations: 0 / 0.8653 GB, free: 7.348 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3162, allocations: 4 kB / 0.8653 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3162, allocations: 4 kB / 0.8653 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3162, allocations: 3.906 kB / 0.8653 GB, free: 7.336 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002766/0.3165, allocations: 175.4 kB / 0.8655 GB, free: 7.148 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.3165, allocations: 77.11 kB / 0.8655 GB, free: 7.055 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3166, allocations: 7.906 kB / 0.8655 GB, free: 7.047 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3167, allocations: 23.97 kB / 0.8656 GB, free: 7.023 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.3167, allocations: 4 kB / 0.8656 GB, free: 7.02 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.3168, allocations: 4 kB / 0.8656 GB, free: 7.016 MB / 0.5419 GB Notification: Performance of sort global known variables: time 7.046e-05/0.3168, allocations: 95.27 kB / 0.8657 GB, free: 6.922 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002238/0.3171, allocations: 19.94 kB / 0.8657 GB, free: 6.902 MB / 0.5419 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.0001613/0.3172, allocations: 99.25 kB / 0.8658 GB, free: 6.797 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.3174, allocations: 32.27 kB / 0.8658 GB, free: 6.766 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3174, allocations: 0 / 0.8658 GB, free: 6.766 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.3174, allocations: 23.94 kB / 0.8658 GB, free: 6.742 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.3176, allocations: 4 kB / 0.8658 GB, free: 6.738 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.3179, allocations: 91.8 kB / 0.8659 GB, free: 6.621 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.3182, allocations: 0.7071 MB / 0.8666 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.3182, allocations: 3.938 kB / 0.8666 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of Templates: time 0.002944/0.3212, allocations: 0.7402 MB / 0.8673 GB, free: 5.16 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)