Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [: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.724/0.724, allocations: 141.8 MB / 149.1 MB, free: 0.8789 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 181 kB / 182 MB, free: 13.05 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.338/1.338, allocations: 221.3 MB / 436 MB, free: 5.832 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.0009529/0.0009529, allocations: 95.2 kB / 0.507 GB, free: 18.86 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00182/0.00182, allocations: 280.6 kB / 0.5885 GB, free: 7.008 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.027e-05, allocations: 2.969 kB / 0.6759 GB, free: 139.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1688, allocations: 82.77 MB / 0.7568 GB, free: 89.07 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.2925, allocations: 107.9 MB / 0.8621 GB, free: 13.06 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.2929, allocations: 74.55 kB / 0.8622 GB, free: 12.99 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01306/0.3059, allocations: 4.201 MB / 0.8663 GB, free: 8.781 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.306, allocations: 4 kB / 0.8663 GB, free: 8.777 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002993/0.3063, allocations: 346.4 kB / 0.8666 GB, free: 8.395 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3063, allocations: 8.031 kB / 0.8666 GB, free: 8.387 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.3064, allocations: 3.984 kB / 0.8666 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3066, allocations: 170.9 kB / 0.8668 GB, free: 8.176 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3066, allocations: 7.875 kB / 0.8668 GB, free: 8.168 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3066, allocations: 0 / 0.8668 GB, free: 8.168 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.343e-05/0.3067, allocations: 4 kB / 0.8668 GB, free: 8.164 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.041e-05/0.3068, allocations: 29.7 kB / 0.8668 GB, free: 8.129 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3068, allocations: 4 kB / 0.8668 GB, free: 8.125 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3068, allocations: 0 / 0.8668 GB, free: 8.125 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3068, allocations: 0 / 0.8668 GB, free: 8.125 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.3069, allocations: 134.1 kB / 0.8669 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.15e-05/0.307, allocations: 22.61 kB / 0.867 GB, free: 7.926 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.307, allocations: 4.859 kB / 0.867 GB, free: 7.918 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.3076, allocations: 473.5 kB / 0.8674 GB, free: 7.363 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3077, allocations: 30.56 kB / 0.8674 GB, free: 7.324 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3077, allocations: 0 / 0.8674 GB, free: 7.324 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0005967/0.3083, allocations: 238.3 kB / 0.8677 GB, free: 7.039 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.3083, allocations: 59.34 kB / 0.8677 GB, free: 6.969 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.3084, allocations: 93.11 kB / 0.8678 GB, free: 6.871 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3084, allocations: 25.7 kB / 0.8678 GB, free: 6.84 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.3084, allocations: 84.14 kB / 0.8679 GB, free: 6.754 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3084, allocations: 7.906 kB / 0.8679 GB, free: 6.746 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.3085, allocations: 0 / 0.8679 GB, free: 6.746 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.3085, allocations: 310.8 kB / 0.8682 GB, free: 6.434 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.3086, allocations: 8 kB / 0.8682 GB, free: 6.426 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.3086, allocations: 17.84 kB / 0.8683 GB, free: 6.402 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.3086, allocations: 7.984 kB / 0.8683 GB, free: 6.395 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3087, allocations: 0 / 0.8683 GB, free: 6.395 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001144/0.3088, allocations: 53.55 kB / 0.8683 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3088, allocations: 4 kB / 0.8683 GB, free: 6.332 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3088, allocations: 0 / 0.8683 GB, free: 6.332 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3088, allocations: 4 kB / 0.8683 GB, free: 6.328 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.3089, allocations: 7.984 kB / 0.8683 GB, free: 6.32 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3089, allocations: 4.062 kB / 0.8683 GB, free: 6.316 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.3089, allocations: 4 kB / 0.8683 GB, free: 6.312 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3089, allocations: 0 / 0.8683 GB, free: 6.312 MB / 0.5419 GB 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.49e-05/0.309, allocations: 104.9 kB / 0.8684 GB, free: 6.203 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.309, allocations: 4 kB / 0.8684 GB, free: 6.199 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.3092, allocations: 57.25 kB / 0.8685 GB, free: 6.137 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3092, allocations: 7.938 kB / 0.8685 GB, free: 6.129 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3092, allocations: 3.984 kB / 0.8685 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3092, allocations: 0 / 0.8685 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.813e-05/0.3093, allocations: 134.2 kB / 0.8686 GB, free: 5.957 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3093, allocations: 0 / 0.8686 GB, free: 5.957 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.3094, allocations: 11.98 kB / 0.8686 GB, free: 5.945 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3094, allocations: 0 / 0.8686 GB, free: 5.945 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3094, allocations: 4 kB / 0.8686 GB, free: 5.941 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3094, allocations: 0 / 0.8686 GB, free: 5.941 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3094, allocations: 0 / 0.8686 GB, free: 5.941 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001501/0.3096, allocations: 85.2 kB / 0.8687 GB, free: 5.84 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.3096, allocations: 77.11 kB / 0.8688 GB, free: 5.746 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3096, allocations: 0 / 0.8688 GB, free: 5.746 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.304e-05/0.3097, allocations: 4.047 kB / 0.8688 GB, free: 5.742 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.3097, allocations: 3.984 kB / 0.8688 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3097, allocations: 0 / 0.8688 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.518e-05/0.3097, allocations: 79.28 kB / 0.8689 GB, free: 5.66 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002212/0.31, allocations: 36 kB / 0.8689 GB, free: 5.625 MB / 0.5419 GB 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 (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.0002209/0.3102, allocations: 139.1 kB / 0.8691 GB, free: 5.477 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.3103, allocations: 19.98 kB / 0.8691 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3103, allocations: 0 / 0.8691 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.3103, allocations: 4 kB / 0.8691 GB, free: 5.453 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.3104, allocations: 10.62 kB / 0.8691 GB, free: 5.445 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.3106, allocations: 64.36 kB / 0.8691 GB, free: 5.355 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.3109, allocations: 0.6955 MB / 0.8698 GB, free: 4.637 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.3109, allocations: 0 / 0.8698 GB, free: 4.637 MB / 0.5419 GB Notification: Performance of Templates: time 0.002856/0.3138, allocations: 0.8762 MB / 0.8707 GB, free: 3.793 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)