Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008193/0.0008194, allocations: 96.05 kB / 16.33 MB, free: 6.168 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.0008618/0.0008619, allocations: 185.8 kB / 17.22 MB, free: 6.004 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.531/1.531, allocations: 223.3 MB / 241.2 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 114.4 MB / 406.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 11.98 kB / 494.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 77.26 MB / 0.5583 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004147/0.1792, allocations: 3.34 MB / 0.5616 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1816, allocations: 1.61 MB / 0.5632 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1818, allocations: 7.938 kB / 0.5632 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.182, allocations: 55.56 kB / 0.5632 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.1824, allocations: 183.1 kB / 0.5634 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.1828, allocations: 147 kB / 0.5635 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.1834, allocations: 0.5374 MB / 0.5641 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.1838, allocations: 297 kB / 0.5643 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.184, allocations: 155.4 kB / 0.5645 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.1843, allocations: 195.3 kB / 0.5647 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.1844, allocations: 16 kB / 0.5647 GB, free: 4.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.1846, allocations: 119.8 kB / 0.5648 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1848, allocations: 107.7 kB / 0.5649 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.1848, allocations: 85.52 kB / 0.565 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.1852, allocations: 375.2 kB / 0.5653 GB, free: 3.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1853, allocations: 0 / 0.5653 GB, free: 3.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1853, allocations: 0 / 0.5653 GB, free: 3.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1853, allocations: 4 kB / 0.5653 GB, free: 3.668 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008444/0.1861, allocations: 0.5769 MB / 0.5659 GB, free: 3.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1862, allocations: 12.02 kB / 0.5659 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008137/0.187, allocations: 143.5 kB / 0.5661 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1874, allocations: 274.5 kB / 0.5663 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1874, allocations: 28.53 kB / 0.5663 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.1874, allocations: 24 kB / 0.5664 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.1881, allocations: 467.5 kB / 0.5668 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1881, allocations: 3.938 kB / 0.5668 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.1881, allocations: 12 kB / 0.5668 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.1882, allocations: 32.55 kB / 0.5669 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.1887, allocations: 317.9 kB / 0.5672 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.1906, allocations: 2.201 MB / 0.5693 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.191, allocations: 243.8 kB / 0.5695 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.1912, allocations: 112.8 kB / 0.5697 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.1912, allocations: 7.938 kB / 0.5697 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1913, allocations: 30.56 kB / 0.5697 GB, free: 14.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1913, allocations: 0 / 0.5697 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005672/0.1919, allocations: 307.5 kB / 0.57 GB, free: 14.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1919, allocations: 55.41 kB / 0.57 GB, free: 14.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.1922, allocations: 270.5 kB / 0.5703 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1922, allocations: 25.7 kB / 0.5703 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1924, allocations: 207.8 kB / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1925, allocations: 51.28 kB / 0.5706 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.1925, allocations: 8 kB / 0.5706 GB, free: 13.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1926, allocations: 330.8 kB / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.1928, allocations: 52.44 kB / 0.5709 GB, free: 13.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1929, allocations: 149.5 kB / 0.5711 GB, free: 13.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1931, allocations: 79.92 kB / 0.5712 GB, free: 13.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1931, allocations: 0 / 0.5712 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003937/0.1935, allocations: 272.5 kB / 0.5714 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1935, allocations: 8 kB / 0.5714 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1935, allocations: 0 / 0.5714 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.1937, allocations: 32.78 kB / 0.5715 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.1938, allocations: 47.97 kB / 0.5715 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009914/0.1948, allocations: 1.312 MB / 0.5728 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.195, allocations: 39.56 kB / 0.5728 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.195, allocations: 12.16 kB / 0.5728 GB, free: 11.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.1952, allocations: 173.7 kB / 0.573 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.1953, allocations: 23.72 kB / 0.573 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1953, allocations: 21.84 kB / 0.573 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1953, allocations: 4 kB / 0.573 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1953, allocations: 3.984 kB / 0.573 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1953, allocations: 0 / 0.573 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.1962, allocations: 0.6987 MB / 0.5737 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1962, allocations: 0 / 0.5737 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.1963, allocations: 28.11 kB / 0.5738 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.643e-05/0.1964, allocations: 28.84 kB / 0.5738 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1964, allocations: 4 kB / 0.5738 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008983/0.1973, allocations: 1.327 MB / 0.5751 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1973, allocations: 0 / 0.5751 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.1976, allocations: 309.2 kB / 0.5754 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.1977, allocations: 112.8 kB / 0.5755 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1978, allocations: 11.94 kB / 0.5755 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1979, allocations: 12 kB / 0.5755 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.198, allocations: 19.92 kB / 0.5755 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.198, allocations: 8 kB / 0.5755 GB, free: 8.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1982, allocations: 186 kB / 0.5757 GB, free: 8.133 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1982, allocations: 0 / 0.5757 GB, free: 8.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00039/0.1986, allocations: 79.78 kB / 0.5758 GB, free: 8.055 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.1987, allocations: 99.94 kB / 0.5759 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.1992, allocations: 270.4 kB / 0.5761 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1992, allocations: 4 kB / 0.5761 GB, free: 7.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1994, allocations: 179.7 kB / 0.5763 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1999, allocations: 65.19 kB / 0.5764 GB, free: 7.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009389/0.2008, allocations: 0.6754 MB / 0.577 GB, free: 6.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.2012, allocations: 0.803 MB / 0.5778 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.2013, allocations: 19.44 kB / 0.5778 GB, free: 5.844 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2013, allocations: 0 / 0.5778 GB, free: 5.844 MB / 446.1 MB Notification: Performance of Templates: time 0.006001/0.2073, allocations: 4.367 MB / 0.5821 GB, free: 1.492 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o] Error 1