Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 185.9 kB / 16.92 MB, free: 6.922 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 262.3 kB / 292.3 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005127, allocations: 17.3 kB / 0.5993 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1758, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007606/0.1835, allocations: 6.302 MB / 0.6919 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004921/0.1885, allocations: 3.006 MB / 0.6949 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.1891, allocations: 19.88 kB / 0.6949 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.1896, allocations: 139.5 kB / 0.695 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.191, allocations: 475.2 kB / 0.6955 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1921, allocations: 385.9 kB / 0.6958 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.1939, allocations: 1.587 MB / 0.6974 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.1957, allocations: 1.004 MB / 0.6984 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.1965, allocations: 398.3 kB / 0.6988 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008067/0.1973, allocations: 494.1 kB / 0.6992 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1975, allocations: 36 kB / 0.6993 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008218/0.1983, allocations: 447 kB / 0.6997 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.1986, allocations: 271.2 kB / 0.6999 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.1992, allocations: 431.5 kB / 0.7004 GB, free: 104 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009819/0.2002, allocations: 0.9156 MB / 0.7012 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2002, allocations: 3.938 kB / 0.7013 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2002, allocations: 0 / 0.7013 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.673e-05/0.2002, allocations: 0 / 0.7013 GB, free: 15.18 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001776/0.202, allocations: 1.001 MB / 0.7022 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2021, allocations: 12.03 kB / 0.7022 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.2037, allocations: 239.6 kB / 0.7025 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000859/0.2045, allocations: 0.5414 MB / 0.703 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.2046, allocations: 49.67 kB / 0.703 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.2047, allocations: 64.38 kB / 0.7031 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.2064, allocations: 1.089 MB / 0.7042 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.2065, allocations: 7.984 kB / 0.7042 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.2066, allocations: 24 kB / 0.7042 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.2067, allocations: 81.27 kB / 0.7043 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.208, allocations: 0.7581 MB / 0.705 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.2136, allocations: 5.897 MB / 0.7108 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.2146, allocations: 0.5477 MB / 0.7113 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.2151, allocations: 334 kB / 0.7116 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.2151, allocations: 8.438 kB / 0.7116 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.2151, allocations: 39 kB / 0.7117 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/0.2152, allocations: 0 / 0.7117 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003788/0.2189, allocations: 2.002 MB / 0.7136 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.219, allocations: 59.83 kB / 0.7137 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/0.2196, allocations: 0.5508 MB / 0.7142 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.2197, allocations: 33.7 kB / 0.7143 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.22, allocations: 418.9 kB / 0.7147 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2202, allocations: 169.6 kB / 0.7148 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.2203, allocations: 65.69 kB / 0.7149 GB, free: 448 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2204, allocations: 374.7 kB / 0.7152 GB, free: 64 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.2208, allocations: 281.9 kB / 0.7155 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.2214, allocations: 493 kB / 0.716 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.2225, allocations: 0.8054 MB / 0.7168 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2225, allocations: 0 / 0.7168 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001806/0.2243, allocations: 1.086 MB / 0.7178 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2243, allocations: 9.562 kB / 0.7178 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2243, allocations: 8 kB / 0.7178 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/0.2252, allocations: 276 kB / 0.7181 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.2257, allocations: 135.7 kB / 0.7182 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006703/0.2324, allocations: 6.61 MB / 0.7247 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/0.233, allocations: 36.14 kB / 0.7247 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.2331, allocations: 36 kB / 0.7248 GB, free: 5.555 MB / 0.5137 GB 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004852/0.2336, allocations: 250.8 kB / 0.725 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.2338, allocations: 75.22 kB / 0.7251 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.2355, allocations: 0.8846 MB / 0.7259 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.2355, allocations: 8 kB / 0.7259 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2355, allocations: 0 / 0.7259 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2355, allocations: 7.984 kB / 0.726 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.2382, allocations: 1.724 MB / 0.7276 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2382, allocations: 3.938 kB / 0.7276 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.2385, allocations: 63.89 kB / 0.7277 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.2392, allocations: 263.4 kB / 0.728 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.2393, allocations: 12 kB / 0.728 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006464/0.2458, allocations: 6.591 MB / 0.7344 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2458, allocations: 0 / 0.7344 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.2473, allocations: 0.9835 MB / 0.7354 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.2476, allocations: 188.2 kB / 0.7355 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-05/0.2477, allocations: 15.94 kB / 0.7356 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.2481, allocations: 31.95 kB / 0.7356 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2482, allocations: 43.89 kB / 0.7356 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.2482, allocations: 16.19 kB / 0.7356 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004448/0.2487, allocations: 391 kB / 0.736 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2487, allocations: 0 / 0.736 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000819/0.2495, allocations: 220 kB / 0.7362 GB, free: 9.09 MB / 0.5294 GB 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.2497, allocations: 123 kB / 0.7363 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.2518, allocations: 1.275 MB / 0.7376 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2518, allocations: 0 / 0.7376 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.2531, allocations: 0.8855 MB / 0.7385 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.2543, allocations: 206.9 kB / 0.7386 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.257, allocations: 1.728 MB / 0.7403 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.2577, allocations: 1.012 MB / 0.7413 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.2579, allocations: 43.44 kB / 0.7414 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of SimCode: time 6.52e-07/0.2579, allocations: 0 / 0.7414 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of Templates: time 0.02536/0.2833, allocations: 20.55 MB / 0.7614 GB, free: 15.14 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1