Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 176 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 16 kB / 0.5076 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2322, allocations: 82.3 MB / 0.588 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008575/0.2331, allocations: 315 kB / 0.5883 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.2334, allocations: 91.72 kB / 0.5884 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.086e-05/0.2334, allocations: 0 / 0.5884 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.2335, allocations: 0 / 0.5884 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.2335, allocations: 4 kB / 0.5884 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2337, allocations: 11.98 kB / 0.5884 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.609e-05/0.2338, allocations: 4 kB / 0.5884 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.2338, allocations: 4 kB / 0.5884 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.2339, allocations: 3.938 kB / 0.5884 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.234, allocations: 15.97 kB / 0.5884 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.234, allocations: 0 / 0.5884 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.234, allocations: 11.98 kB / 0.5884 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.2341, allocations: 4 kB / 0.5884 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.2341, allocations: 25.7 kB / 0.5885 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.782e-05/0.2342, allocations: 7.984 kB / 0.5885 GB, free: 2.477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2342, allocations: 0 / 0.5885 GB, free: 2.477 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2342, allocations: 7.938 kB / 0.5885 GB, free: 2.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2342, allocations: 0 / 0.5885 GB, free: 2.469 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003648/0.2346, allocations: 311.4 kB / 0.5888 GB, free: 2.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2346, allocations: 8.031 kB / 0.5888 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.2348, allocations: 11.98 kB / 0.5888 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2349, allocations: 167 kB / 0.589 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2349, allocations: 3.938 kB / 0.589 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.235, allocations: 4 kB / 0.589 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.2351, allocations: 41.67 kB / 0.589 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2351, allocations: 8 kB / 0.589 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2351, allocations: 0 / 0.589 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2351, allocations: 0 / 0.589 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.2352, allocations: 15.98 kB / 0.589 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.2354, allocations: 153.7 kB / 0.5892 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2356, allocations: 50.5 kB / 0.5892 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.2356, allocations: 16.84 kB / 0.5892 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.2356, allocations: 0 / 0.5892 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2357, allocations: 34.56 kB / 0.5893 GB, free: 1.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.2357, allocations: 0 / 0.5893 GB, free: 1.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000214/0.2359, allocations: 57.58 kB / 0.5893 GB, free: 1.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.236, allocations: 55.41 kB / 0.5894 GB, free: 1.367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.236, allocations: 93.86 kB / 0.5895 GB, free: 1.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2361, allocations: 25.7 kB / 0.5895 GB, free: 1.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.2361, allocations: 80.14 kB / 0.5896 GB, free: 1.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.2362, allocations: 16.06 kB / 0.5896 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2362, allocations: 0 / 0.5896 GB, free: 1.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.2364, allocations: 310.8 kB / 0.5899 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.2364, allocations: 7.984 kB / 0.5899 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.2364, allocations: 4 kB / 0.5899 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.2365, allocations: 15.98 kB / 0.5899 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2365, allocations: 3.953 kB / 0.5899 GB, free: 0.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.856e-05/0.2366, allocations: 45.69 kB / 0.5899 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2367, allocations: 8 kB / 0.59 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2367, allocations: 0 / 0.59 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2367, allocations: 0 / 0.59 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.237, allocations: 47.92 kB / 0.59 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.2383, allocations: 1.302 MB / 0.5913 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.2384, allocations: 4.031 kB / 0.5913 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.2384, allocations: 0 / 0.5913 GB, free: 15.25 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.381e-05/0.2385, allocations: 117.9 kB / 0.5914 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.2385, allocations: 7.984 kB / 0.5914 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.405e-05/0.2385, allocations: 7.484 kB / 0.5914 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2385, allocations: 3.938 kB / 0.5914 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.2385, allocations: 0 / 0.5914 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2386, allocations: 0 / 0.5914 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.2387, allocations: 157.6 kB / 0.5916 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2387, allocations: 0 / 0.5916 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.239, allocations: 51.86 kB / 0.5916 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.239, allocations: 4 kB / 0.5916 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.239, allocations: 0 / 0.5916 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.2401, allocations: 1.302 MB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2401, allocations: 7.922 kB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.2402, allocations: 85.2 kB / 0.593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.2403, allocations: 77.11 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-06/0.2403, allocations: 0 / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/0.2403, allocations: 3.984 kB / 0.5931 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.2404, allocations: 4 kB / 0.5931 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.2404, allocations: 0 / 0.5931 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.579e-05/0.2404, allocations: 79.28 kB / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2404, allocations: 0 / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002027/0.2406, allocations: 8 kB / 0.5931 GB, free: 13.12 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.2408, allocations: 95.25 kB / 0.5932 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.2412, allocations: 63.84 kB / 0.5933 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2412, allocations: 0 / 0.5933 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.2415, allocations: 55.92 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2417, allocations: 6.062 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.2421, allocations: 124.9 kB / 0.5935 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2424, allocations: 0.677 MB / 0.5941 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.2424, allocations: 7.438 kB / 0.5941 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2424, allocations: 3.938 kB / 0.5941 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.002173/0.2446, allocations: 0.596 MB / 0.5947 GB, free: 11.43 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.o] Error 1