Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 90.64 kB / 16.33 MB, free: 6.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 192 kB / 17.23 MB, free: 6.699 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.509/1.509, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7727/0.7727, allocations: 114.3 MB / 406.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8.781 kB / 494.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 77.27 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001521/0.1604, allocations: 1.146 MB / 0.5594 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002535/0.1607, allocations: 84.69 kB / 0.5595 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1607, allocations: 0 / 0.5595 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.1607, allocations: 3.938 kB / 0.5595 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.1608, allocations: 0 / 0.5595 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.1609, allocations: 15.98 kB / 0.5595 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.161, allocations: 23.86 kB / 0.5596 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.1611, allocations: 8 kB / 0.5596 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.1612, allocations: 4 kB / 0.5596 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.1612, allocations: 15.92 kB / 0.5596 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1612, allocations: 3.938 kB / 0.5596 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.1613, allocations: 15.98 kB / 0.5596 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1613, allocations: 7.984 kB / 0.5596 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.1613, allocations: 25.7 kB / 0.5596 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.02e-05/0.1614, allocations: 19.95 kB / 0.5597 GB, free: 9.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1614, allocations: 8 kB / 0.5597 GB, free: 9.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1614, allocations: 0 / 0.5597 GB, free: 9.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1614, allocations: 0 / 0.5597 GB, free: 9.527 MB / 430.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.0003974/0.1619, allocations: 343.5 kB / 0.56 GB, free: 9.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1619, allocations: 12.02 kB / 0.56 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.1621, allocations: 11.98 kB / 0.56 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1622, allocations: 171 kB / 0.5602 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1622, allocations: 11.98 kB / 0.5602 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1622, allocations: 0 / 0.5602 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1624, allocations: 65.66 kB / 0.5602 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1625, allocations: 7.891 kB / 0.5603 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1625, allocations: 0 / 0.5603 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1625, allocations: 0 / 0.5603 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.1627, allocations: 63.95 kB / 0.5603 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1631, allocations: 265 kB / 0.5606 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1633, allocations: 62.55 kB / 0.5606 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1634, allocations: 48.78 kB / 0.5607 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1634, allocations: 0 / 0.5607 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.1634, allocations: 30.56 kB / 0.5607 GB, free: 8.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1634, allocations: 0 / 0.5607 GB, free: 8.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003829/0.1638, allocations: 129.5 kB / 0.5608 GB, free: 8.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.1639, allocations: 55.41 kB / 0.5609 GB, free: 8.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.164, allocations: 110 kB / 0.561 GB, free: 7.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.164, allocations: 25.7 kB / 0.561 GB, free: 7.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.164, allocations: 80.14 kB / 0.5611 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.164, allocations: 7.844 kB / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.1641, allocations: 0 / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.1642, allocations: 322.8 kB / 0.5614 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1643, allocations: 31.98 kB / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.1644, allocations: 31.97 kB / 0.5615 GB, free: 7.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.1645, allocations: 28.05 kB / 0.5615 GB, free: 7.441 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1645, allocations: 0 / 0.5615 GB, free: 7.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002282/0.1647, allocations: 97.59 kB / 0.5616 GB, free: 7.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1647, allocations: 8.031 kB / 0.5616 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1647, allocations: 0 / 0.5616 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1648, allocations: 3.938 kB / 0.5616 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1649, allocations: 15.98 kB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1649, allocations: 7.922 kB / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.165, allocations: 11.98 kB / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.165, allocations: 0 / 0.5616 GB, free: 7.293 MB / 430.1 MB 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.165, allocations: 117.8 kB / 0.5617 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.1651, allocations: 3.953 kB / 0.5617 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1651, allocations: 3.531 kB / 0.5617 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1651, allocations: 4 kB / 0.5618 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1651, allocations: 0 / 0.5618 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1651, allocations: 3.984 kB / 0.5618 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1653, allocations: 173.5 kB / 0.5619 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1653, allocations: 4 kB / 0.5619 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.1654, allocations: 15.98 kB / 0.5619 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1654, allocations: 0 / 0.5619 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1654, allocations: 3.953 kB / 0.5619 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1654, allocations: 4 kB / 0.5619 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1654, allocations: 0 / 0.5619 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1657, allocations: 187.5 kB / 0.5621 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.1658, allocations: 81.34 kB / 0.5622 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1658, allocations: 4 kB / 0.5622 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.1659, allocations: 19.94 kB / 0.5622 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1659, allocations: 8.031 kB / 0.5622 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1659, allocations: 0 / 0.5622 GB, free: 6.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.166, allocations: 79.28 kB / 0.5623 GB, free: 6.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.166, allocations: 0 / 0.5623 GB, free: 6.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1662, allocations: 8 kB / 0.5623 GB, free: 6.492 MB / 430.1 MB 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001131/0.1663, allocations: 99.92 kB / 0.5624 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1666, allocations: 67.95 kB / 0.5625 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1666, allocations: 0 / 0.5625 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1667, allocations: 39.97 kB / 0.5625 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.167, allocations: 6.672 kB / 0.5625 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.1673, allocations: 154.3 kB / 0.5627 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.1675, allocations: 0.681 MB / 0.5633 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1676, allocations: 11.44 kB / 0.5633 GB, free: 5.379 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1676, allocations: 0 / 0.5633 GB, free: 5.379 MB / 430.1 MB Notification: Performance of Templates: time 0.001687/0.1693, allocations: 0.62 MB / 0.5639 GB, free: 4.762 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o] Error 1