Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 91.33 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.0008945/0.0008948, allocations: 191.1 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.513/1.513, allocations: 223.2 MB / 241.2 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7297/0.7297, allocations: 114.3 MB / 406.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 8 kB / 494.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1758, allocations: 77.27 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005047/0.1809, allocations: 3.804 MB / 0.562 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.184, allocations: 1.746 MB / 0.5637 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.1842, allocations: 11.94 kB / 0.5638 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1845, allocations: 75.41 kB / 0.5638 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.1851, allocations: 210.9 kB / 0.564 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.1856, allocations: 182.3 kB / 0.5642 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000706/0.1863, allocations: 0.6775 MB / 0.5649 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.1868, allocations: 388.9 kB / 0.5652 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.187, allocations: 199.2 kB / 0.5654 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.1875, allocations: 251.1 kB / 0.5657 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.1876, allocations: 20 kB / 0.5657 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1878, allocations: 119.9 kB / 0.5658 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.188, allocations: 135.6 kB / 0.5659 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1881, allocations: 97.52 kB / 0.566 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.1887, allocations: 467 kB / 0.5665 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1887, allocations: 0 / 0.5665 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1887, allocations: 0 / 0.5665 GB, free: 2.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1887, allocations: 0 / 0.5665 GB, free: 2.535 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001273/0.19, allocations: 0.6588 MB / 0.5671 GB, free: 1.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1901, allocations: 12.02 kB / 0.5671 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.191, allocations: 155.3 kB / 0.5673 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.1915, allocations: 317.5 kB / 0.5676 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1915, allocations: 21 kB / 0.5676 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.1916, allocations: 35.98 kB / 0.5676 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/0.1924, allocations: 0.5353 MB / 0.5681 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1924, allocations: 3.938 kB / 0.5681 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.1925, allocations: 12 kB / 0.5682 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/0.1926, allocations: 40.62 kB / 0.5682 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.1932, allocations: 386.3 kB / 0.5686 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.1959, allocations: 2.415 MB / 0.5709 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.1964, allocations: 258.5 kB / 0.5712 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1966, allocations: 112.8 kB / 0.5713 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1966, allocations: 4 kB / 0.5713 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1967, allocations: 34.56 kB / 0.5713 GB, free: 13.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/0.1967, allocations: 4 kB / 0.5713 GB, free: 13.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002186/0.1989, allocations: 1.123 MB / 0.5724 GB, free: 11.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1989, allocations: 67.33 kB / 0.5725 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.1992, allocations: 292.5 kB / 0.5728 GB, free: 11.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1993, allocations: 29.7 kB / 0.5728 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1994, allocations: 235.5 kB / 0.573 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.1995, allocations: 82.83 kB / 0.5731 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.1995, allocations: 8 kB / 0.5731 GB, free: 11.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1997, allocations: 338.8 kB / 0.5734 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.1999, allocations: 100.6 kB / 0.5735 GB, free: 10.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.2001, allocations: 188.5 kB / 0.5737 GB, free: 10.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.2003, allocations: 134.5 kB / 0.5738 GB, free: 10.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2004, allocations: 4 kB / 0.5738 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000751/0.2011, allocations: 436 kB / 0.5742 GB, free: 10.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.2012, allocations: 8 kB / 0.5743 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2012, allocations: 0 / 0.5743 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.2015, allocations: 106.6 kB / 0.5744 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2018, allocations: 59.91 kB / 0.5744 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.2051, allocations: 4.072 MB / 0.5784 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2053, allocations: 8 kB / 0.5784 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2053, allocations: 12.14 kB / 0.5784 GB, free: 5.332 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.2055, allocations: 185.7 kB / 0.5786 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.2056, allocations: 31.7 kB / 0.5786 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.997e-05/0.2057, allocations: 38.41 kB / 0.5787 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2057, allocations: 4 kB / 0.5787 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.2057, allocations: 4 kB / 0.5787 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2057, allocations: 0 / 0.5787 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.2062, allocations: 401.4 kB / 0.579 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2062, allocations: 0 / 0.579 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.2064, allocations: 35.91 kB / 0.5791 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.2067, allocations: 98.5 kB / 0.5792 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2067, allocations: 0 / 0.5792 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/0.21, allocations: 4.061 MB / 0.5831 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.21, allocations: 4.062 kB / 0.5831 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4207/0.6307, allocations: 0.548 MB / 0.5837 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.631, allocations: 126.5 kB / 0.5838 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.631, allocations: 4.156 kB / 0.5838 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.6313, allocations: 14.05 kB / 0.5838 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.6314, allocations: 19.28 kB / 0.5838 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.6314, allocations: 6.469 kB / 0.5838 GB, free: 31.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002849/0.6317, allocations: 212 kB / 0.584 GB, free: 31.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6317, allocations: 0 / 0.584 GB, free: 31.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.6323, allocations: 98.91 kB / 0.5841 GB, free: 31.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.6325, allocations: 105.2 kB / 0.5842 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009413/0.6334, allocations: 0.616 MB / 0.5848 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6334, allocations: 0 / 0.5848 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.6339, allocations: 480.2 kB / 0.5853 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.6345, allocations: 71.05 kB / 0.5854 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.6358, allocations: 0.8958 MB / 0.5862 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.6363, allocations: 0.8329 MB / 0.587 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.6363, allocations: 25.45 kB / 0.5871 GB, free: 29.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6363, allocations: 0 / 0.5871 GB, free: 29.38 MB / 446.1 MB Notification: Performance of Templates: time 0.01725/0.6536, allocations: 8.632 MB / 0.5955 GB, free: 28.46 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModelCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.o] Error 1