Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [: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.5044/0.5044, allocations: 94.73 MB / 102 MB, free: 4.051 MB / 82.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00116/0.00116, allocations: 179.5 kB / 125.3 MB, free: 2.523 MB / 98.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.174/1.174, allocations: 170.5 MB / 319 MB, free: 10.37 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001717/0.001717, allocations: 115.7 kB / 381 MB, free: 12.47 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.205e-06, allocations: 4 kB / 448.6 MB, free: 72.36 MB / 338.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 61.51 MB / 0.4981 GB, free: 10.92 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.5183, allocations: 92.76 MB / 0.5887 GB, free: 10.48 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5186, allocations: 71.73 kB / 0.5888 GB, free: 10.48 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.00858/0.5272, allocations: 2.743 MB / 0.5915 GB, free: 9.738 MB / 386.8 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.5273, allocations: 1.5 kB / 0.5915 GB, free: 9.738 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002804/0.5275, allocations: 329.6 kB / 0.5918 GB, free: 9.383 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5276, allocations: 12.78 kB / 0.5918 GB, free: 9.379 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.5277, allocations: 1.281 kB / 0.5918 GB, free: 9.379 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5278, allocations: 164.3 kB / 0.5919 GB, free: 9.18 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5278, allocations: 1.281 kB / 0.5919 GB, free: 9.18 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.5278, allocations: 5.25 kB / 0.5919 GB, free: 9.176 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.756e-05/0.5279, allocations: 1.312 kB / 0.5919 GB, free: 9.176 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.567e-05/0.528, allocations: 33.56 kB / 0.592 GB, free: 9.141 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.528, allocations: 3.875 kB / 0.592 GB, free: 9.141 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.528, allocations: 0 / 0.592 GB, free: 9.141 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.528, allocations: 0 / 0.592 GB, free: 9.141 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.5282, allocations: 136.7 kB / 0.5921 GB, free: 8.977 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.782e-05/0.5282, allocations: 27.67 kB / 0.5921 GB, free: 8.945 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.5282, allocations: 7.484 kB / 0.5921 GB, free: 8.938 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.5288, allocations: 455.2 kB / 0.5926 GB, free: 8.449 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.5289, allocations: 30.56 kB / 0.5926 GB, free: 8.41 MB / 386.8 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5289, allocations: 1.281 kB / 0.5926 GB, free: 8.41 MB / 386.8 MB Notification: Performance of matching and sorting (n=3): time 0.001328/0.5302, allocations: 416.2 kB / 0.593 GB, free: 8.02 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.5303, allocations: 59.28 kB / 0.5931 GB, free: 7.949 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.124e-05/0.5303, allocations: 90.88 kB / 0.5932 GB, free: 7.859 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5303, allocations: 26.98 kB / 0.5932 GB, free: 7.828 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.88e-05/0.5304, allocations: 84.36 kB / 0.5933 GB, free: 7.742 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.5304, allocations: 9.078 kB / 0.5933 GB, free: 7.734 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.5304, allocations: 0 / 0.5933 GB, free: 7.734 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.5305, allocations: 315 kB / 0.5936 GB, free: 7.422 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.5305, allocations: 3.719 kB / 0.5936 GB, free: 7.422 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.5305, allocations: 17.88 kB / 0.5936 GB, free: 7.402 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.5306, allocations: 9.297 kB / 0.5936 GB, free: 7.398 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5306, allocations: 5.5 kB / 0.5936 GB, free: 7.395 MB / 386.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.5307, allocations: 53.42 kB / 0.5937 GB, free: 7.355 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5307, allocations: 6.469 kB / 0.5937 GB, free: 7.355 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5308, allocations: 0 / 0.5937 GB, free: 7.355 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5308, allocations: 1.125 kB / 0.5937 GB, free: 7.355 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.5308, allocations: 11.09 kB / 0.5937 GB, free: 7.352 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5309, allocations: 1.656 kB / 0.5937 GB, free: 7.352 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.5309, allocations: 0 / 0.5937 GB, free: 7.352 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.5309, allocations: 2.375 kB / 0.5937 GB, free: 7.352 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.965e-05/0.531, allocations: 110 kB / 0.5938 GB, free: 7.238 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.531, allocations: 5.172 kB / 0.5938 GB, free: 7.234 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.5312, allocations: 75.64 kB / 0.5939 GB, free: 7.188 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5312, allocations: 0 / 0.5939 GB, free: 7.188 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5312, allocations: 5 kB / 0.5939 GB, free: 7.184 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5312, allocations: 0 / 0.5939 GB, free: 7.184 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.421e-05/0.5313, allocations: 136.3 kB / 0.594 GB, free: 7.02 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5313, allocations: 0 / 0.594 GB, free: 7.02 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.5314, allocations: 8.5 kB / 0.594 GB, free: 7.02 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5314, allocations: 0 / 0.594 GB, free: 7.02 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5314, allocations: 9.109 kB / 0.594 GB, free: 7.016 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5314, allocations: 5.562 kB / 0.594 GB, free: 7.012 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5314, allocations: 0 / 0.594 GB, free: 7.012 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001608/0.5316, allocations: 102.2 kB / 0.5941 GB, free: 6.93 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.5316, allocations: 78.17 kB / 0.5942 GB, free: 6.836 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.5317, allocations: 1.094 kB / 0.5942 GB, free: 6.836 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.5317, allocations: 3.906 kB / 0.5942 GB, free: 6.832 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.5317, allocations: 10.05 kB / 0.5942 GB, free: 6.824 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5317, allocations: 2.312 kB / 0.5942 GB, free: 6.824 MB / 386.8 MB Notification: Performance of sort global known variables: time 2.498e-05/0.5318, allocations: 80 kB / 0.5943 GB, free: 6.75 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.000275/0.5321, allocations: 46.56 kB / 0.5943 GB, free: 6.734 MB / 386.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0003031/0.5324, allocations: 157.2 kB / 0.5945 GB, free: 6.613 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.5325, allocations: 21.5 kB / 0.5945 GB, free: 6.613 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5325, allocations: 0 / 0.5945 GB, free: 6.613 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.5325, allocations: 14.38 kB / 0.5945 GB, free: 6.609 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.5326, allocations: 1.906 kB / 0.5945 GB, free: 6.609 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.5329, allocations: 75.14 kB / 0.5946 GB, free: 6.535 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.5332, allocations: 0.6946 MB / 0.5953 GB, free: 21.83 MB / 402.8 MB Notification: Performance of SimCode: time 2.3e-07/0.5332, allocations: 4 kB / 0.5953 GB, free: 21.82 MB / 402.8 MB Notification: Performance of Templates: time 0.004465/0.5377, allocations: 1.365 MB / 0.5966 GB, free: 21.15 MB / 402.8 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)