Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008496, allocations: 92.52 kB / 16.33 MB, free: 6.336 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.0008544/0.0008544, allocations: 192.6 kB / 17.23 MB, free: 6.238 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.409/1.409, 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.6808/0.6808, allocations: 114.4 MB / 406.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 8 kB / 494.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 77.26 MB / 0.5583 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006081/0.1965, allocations: 5.387 MB / 0.5636 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.2011, allocations: 2.952 MB / 0.5665 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.2016, allocations: 23.81 kB / 0.5665 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.202, allocations: 123 kB / 0.5666 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009435/0.2029, allocations: 378 kB / 0.567 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009781/0.2039, allocations: 358.6 kB / 0.5673 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.2051, allocations: 1.209 MB / 0.5685 GB, free: 468 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.2067, allocations: 0.9061 MB / 0.5694 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005592/0.2072, allocations: 366.5 kB / 0.5697 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.2078, allocations: 430.4 kB / 0.5701 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.2078, allocations: 35.98 kB / 0.5702 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.2084, allocations: 243.7 kB / 0.5704 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.2087, allocations: 255.2 kB / 0.5706 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2089, allocations: 161.3 kB / 0.5708 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.2097, allocations: 0.8769 MB / 0.5717 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2097, allocations: 0 / 0.5717 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2097, allocations: 0 / 0.5717 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2097, allocations: 4 kB / 0.5717 GB, free: 13.18 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001383/0.2111, allocations: 0.9192 MB / 0.5726 GB, free: 12.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2112, allocations: 12.02 kB / 0.5726 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.2125, allocations: 218.8 kB / 0.5728 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.2133, allocations: 0.521 MB / 0.5733 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.2133, allocations: 49.3 kB / 0.5733 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.2134, allocations: 63.98 kB / 0.5734 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.2148, allocations: 1.018 MB / 0.5744 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.2149, allocations: 19.78 kB / 0.5744 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/0.215, allocations: 27.98 kB / 0.5744 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.051e-05/0.2151, allocations: 65.28 kB / 0.5745 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.216, allocations: 0.6918 MB / 0.5752 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.2211, allocations: 5.756 MB / 0.5808 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.222, allocations: 0.5977 MB / 0.5814 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007347/0.2228, allocations: 414 kB / 0.5818 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.2228, allocations: 11.78 kB / 0.5818 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.2229, allocations: 38.52 kB / 0.5818 GB, free: 2.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 3.136e-06/0.2229, allocations: 4 kB / 0.5818 GB, free: 2.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.4087/0.6316, allocations: 2.042 MB / 0.5838 GB, free: 32.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.6317, allocations: 58.09 kB / 0.5839 GB, free: 32.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.6324, allocations: 455.5 kB / 0.5843 GB, free: 31.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.666e-05/0.6324, allocations: 34.89 kB / 0.5843 GB, free: 31.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.6327, allocations: 388.1 kB / 0.5847 GB, free: 31.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.6329, allocations: 145.9 kB / 0.5848 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.6329, allocations: 13.12 kB / 0.5849 GB, free: 31.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.633, allocations: 362.6 kB / 0.5852 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.6334, allocations: 243 kB / 0.5854 GB, free: 31.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.6339, allocations: 459 kB / 0.5859 GB, free: 31.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.6345, allocations: 310.8 kB / 0.5862 GB, free: 31.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.6345, allocations: 5.781 kB / 0.5862 GB, free: 31.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002151/0.6366, allocations: 1.057 MB / 0.5872 GB, free: 31.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.6367, allocations: 12.72 kB / 0.5872 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.6367, allocations: 8.516 kB / 0.5872 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.6378, allocations: 329.5 kB / 0.5875 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.6381, allocations: 98.67 kB / 0.5876 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/0.6447, allocations: 6.942 MB / 0.5944 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.6453, allocations: 33.53 kB / 0.5945 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.6453, allocations: 25.81 kB / 0.5945 GB, free: 25.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003889/0.6457, allocations: 245.2 kB / 0.5947 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.6458, allocations: 68.11 kB / 0.5948 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.6476, allocations: 0.9051 MB / 0.5957 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6477, allocations: 4.688 kB / 0.5957 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.6477, allocations: 5.141 kB / 0.5957 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6477, allocations: 1.828 kB / 0.5957 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.6507, allocations: 1.707 MB / 0.5973 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6507, allocations: 0.9375 kB / 0.5973 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.6508, allocations: 46.58 kB / 0.5974 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009586/0.6518, allocations: 324.4 kB / 0.5977 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.6519, allocations: 7.469 kB / 0.5977 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006198/0.6581, allocations: 6.928 MB / 0.6045 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6581, allocations: 10.03 kB / 0.6045 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.6601, allocations: 1.003 MB / 0.6055 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.6604, allocations: 178.9 kB / 0.6056 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.6605, allocations: 9.078 kB / 0.6056 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.6607, allocations: 19.48 kB / 0.6056 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.6609, allocations: 47.25 kB / 0.6057 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.6609, allocations: 17.72 kB / 0.6057 GB, free: 16.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004704/0.6614, allocations: 298.9 kB / 0.606 GB, free: 16.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6614, allocations: 0 / 0.606 GB, free: 16.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001048/0.6625, allocations: 199.2 kB / 0.6062 GB, free: 16.75 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 (23): * Single equations (assignments): 19 * 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: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.6626, allocations: 111.2 kB / 0.6063 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.6649, allocations: 1.192 MB / 0.6075 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.6649, allocations: 0 / 0.6075 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.6662, allocations: 0.8678 MB / 0.6083 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6673, allocations: 186.4 kB / 0.6085 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.6698, allocations: 1.546 MB / 0.61 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.6704, allocations: 0.9883 MB / 0.611 GB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.6706, allocations: 39.58 kB / 0.611 GB, free: 13.59 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6706, allocations: 0 / 0.611 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02879/0.6994, allocations: 18.4 MB / 0.629 GB, free: 4.223 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_LCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1