Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.000937, allocations: 96.73 kB / 16.33 MB, free: 5.578 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.001156/0.001156, allocations: 191.4 kB / 17.23 MB, free: 5.496 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.514/1.514, allocations: 223.2 MB / 241.2 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.706/0.706, allocations: 114.3 MB / 406.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 8 kB / 494.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 77.28 MB / 0.5583 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004114/0.2072, allocations: 2.646 MB / 0.5609 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.2102, allocations: 1.771 MB / 0.5626 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.2104, allocations: 4 kB / 0.5626 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.2106, allocations: 31.72 kB / 0.5627 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.2111, allocations: 143.3 kB / 0.5628 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.2116, allocations: 175.5 kB / 0.563 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.212, allocations: 366.8 kB / 0.5633 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006303/0.2127, allocations: 317.8 kB / 0.5636 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.2128, allocations: 111.5 kB / 0.5637 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.2132, allocations: 139.5 kB / 0.5639 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.2132, allocations: 12 kB / 0.5639 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.2137, allocations: 255.6 kB / 0.5641 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2138, allocations: 75.8 kB / 0.5642 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.2139, allocations: 65.58 kB / 0.5643 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.2144, allocations: 355.1 kB / 0.5646 GB, free: 4.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.2144, allocations: 4 kB / 0.5646 GB, free: 4.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2144, allocations: 0 / 0.5646 GB, free: 4.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2145, allocations: 0 / 0.5646 GB, free: 4.461 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009179/0.2154, allocations: 0.5184 MB / 0.5651 GB, free: 3.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2154, allocations: 12.02 kB / 0.5651 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.2162, allocations: 119.6 kB / 0.5652 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.2166, allocations: 246.6 kB / 0.5655 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2167, allocations: 16.42 kB / 0.5655 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.2167, allocations: 20 kB / 0.5655 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.2174, allocations: 360.9 kB / 0.5658 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2174, allocations: 0 / 0.5658 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.2175, allocations: 11.94 kB / 0.5659 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.2175, allocations: 24.42 kB / 0.5659 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.2181, allocations: 301.4 kB / 0.5662 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.2207, allocations: 1.733 MB / 0.5679 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.2213, allocations: 326 kB / 0.5682 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.2215, allocations: 101.7 kB / 0.5683 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.2216, allocations: 93.36 kB / 0.5684 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.2217, allocations: 34.56 kB / 0.5684 GB, free: 236 kB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.2217, allocations: 0 / 0.5684 GB, free: 236 kB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.002554/0.2242, allocations: 0.9775 MB / 0.5693 GB, free: 15.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.2243, allocations: 89.28 kB / 0.5694 GB, free: 15.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.2246, allocations: 204.5 kB / 0.5696 GB, free: 14.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2246, allocations: 33.7 kB / 0.5697 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2248, allocations: 168.1 kB / 0.5698 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.2249, allocations: 78.84 kB / 0.5699 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.2249, allocations: 8 kB / 0.5699 GB, free: 14.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.2251, allocations: 330.8 kB / 0.5702 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.2253, allocations: 135.9 kB / 0.5703 GB, free: 14.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.2256, allocations: 213.4 kB / 0.5705 GB, free: 13.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.2259, allocations: 159.9 kB / 0.5707 GB, free: 13.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2259, allocations: 0 / 0.5707 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009159/0.2268, allocations: 0.5044 MB / 0.5712 GB, free: 13.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.2269, allocations: 8 kB / 0.5712 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2269, allocations: 3.984 kB / 0.5712 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.2274, allocations: 155.3 kB / 0.5714 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.2277, allocations: 63.91 kB / 0.5714 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/0.2316, allocations: 3.954 MB / 0.5753 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2318, allocations: 19.98 kB / 0.5753 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.2318, allocations: 15.98 kB / 0.5753 GB, free: 8.676 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.2321, allocations: 161.9 kB / 0.5755 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.2321, allocations: 23.77 kB / 0.5755 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008947/0.233, allocations: 481.7 kB / 0.5759 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2331, allocations: 4 kB / 0.5759 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2331, allocations: 0 / 0.5759 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2331, allocations: 3.953 kB / 0.576 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.2347, allocations: 0.9998 MB / 0.5769 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.2347, allocations: 4 kB / 0.5769 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2348, allocations: 31.92 kB / 0.577 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.2353, allocations: 151.5 kB / 0.5771 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.2353, allocations: 8 kB / 0.5771 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.2387, allocations: 3.946 MB / 0.581 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.2387, allocations: 12.17 kB / 0.581 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/0.2396, allocations: 0.6219 MB / 0.5816 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.2398, allocations: 128.8 kB / 0.5817 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.2398, allocations: 8 kB / 0.5817 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.24, allocations: 19.98 kB / 0.5817 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.2401, allocations: 27.92 kB / 0.5818 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.2401, allocations: 8 kB / 0.5818 GB, free: 1.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.2403, allocations: 157.5 kB / 0.5819 GB, free: 1.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2403, allocations: 0 / 0.5819 GB, free: 1.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005738/0.2409, allocations: 84 kB / 0.582 GB, free: 1.301 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000271/0.2412, allocations: 139.8 kB / 0.5821 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009605/0.2422, allocations: 0.5678 MB / 0.5827 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2422, allocations: 4.062 kB / 0.5827 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.2427, allocations: 393.2 kB / 0.5831 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.2432, allocations: 41.94 kB / 0.5831 GB, free: 108 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3509/0.5941, allocations: 0.7745 MB / 0.5839 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.5945, allocations: 0.7826 MB / 0.5846 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.5946, allocations: 24.64 kB / 0.5847 GB, free: 31.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5946, allocations: 0 / 0.5847 GB, free: 31.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01564/0.6102, allocations: 7.593 MB / 0.5921 GB, free: 30.74 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o] Error 1