Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 98.88 kB / 16.02 MB, free: 76 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.000964/0.0009641, allocations: 187.5 kB / 16.92 MB, free: 6.75 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.311/1.311, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 262.9 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.9641/0.9641, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 16.81 kB / 0.5993 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005832/0.1903, allocations: 4.023 MB / 0.6897 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.1951, allocations: 3.178 MB / 0.6928 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.1954, allocations: 15.88 kB / 0.6928 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.196, allocations: 171.8 kB / 0.693 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008936/0.1969, allocations: 347 kB / 0.6933 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.1975, allocations: 228.2 kB / 0.6935 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.1984, allocations: 0.8001 MB / 0.6943 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.1996, allocations: 0.83 MB / 0.6951 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.2, allocations: 223 kB / 0.6953 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.2004, allocations: 247 kB / 0.6956 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.2004, allocations: 16 kB / 0.6956 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.201, allocations: 327.4 kB / 0.6959 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.2011, allocations: 131.6 kB / 0.696 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.2014, allocations: 220.6 kB / 0.6962 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.202, allocations: 0.6156 MB / 0.6968 GB, free: 3.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.202, allocations: 0 / 0.6968 GB, free: 3.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.202, allocations: 0 / 0.6968 GB, free: 3.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.202, allocations: 0 / 0.6968 GB, free: 3.684 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001161/0.2032, allocations: 0.6936 MB / 0.6975 GB, free: 2.941 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2032, allocations: 8.031 kB / 0.6975 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.2059, allocations: 0.6672 MB / 0.6982 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.2066, allocations: 443.8 kB / 0.6986 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.2066, allocations: 29 kB / 0.6986 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.2067, allocations: 32.12 kB / 0.6987 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.2082, allocations: 0.7825 MB / 0.6994 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2083, allocations: 0 / 0.6994 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.2083, allocations: 16 kB / 0.6994 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.2084, allocations: 40.61 kB / 0.6995 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.2104, allocations: 0.8766 MB / 0.7003 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.2143, allocations: 2.812 MB / 0.7031 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.216, allocations: 0.5176 MB / 0.7036 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007044/0.2167, allocations: 256.6 kB / 0.7038 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.2168, allocations: 93.11 kB / 0.7039 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2169, allocations: 38.5 kB / 0.704 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.2169, allocations: 0 / 0.704 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.01137/0.2283, allocations: 3.111 MB / 0.707 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.2283, allocations: 55.41 kB / 0.707 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.2289, allocations: 413.4 kB / 0.7074 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.2289, allocations: 29.7 kB / 0.7075 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.2291, allocations: 235.9 kB / 0.7077 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.2292, allocations: 90.73 kB / 0.7078 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.2292, allocations: 29.7 kB / 0.7078 GB, free: 8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2294, allocations: 338.8 kB / 0.7081 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.2303, allocations: 359.7 kB / 0.7085 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009389/0.2312, allocations: 434.1 kB / 0.7089 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.2331, allocations: 0.7638 MB / 0.7096 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2331, allocations: 0 / 0.7096 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005018/0.2381, allocations: 1.522 MB / 0.7111 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2382, allocations: 153.5 kB / 0.7113 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2383, allocations: 8 kB / 0.7113 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/0.2421, allocations: 0.8208 MB / 0.7121 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.2427, allocations: 131.8 kB / 0.7122 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/0.2492, allocations: 4.533 MB / 0.7166 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.2501, allocations: 115.8 kB / 0.7167 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.2501, allocations: 11.98 kB / 0.7168 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2501, allocations: 4 kB / 0.7168 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00422/0.2543, allocations: 1.241 MB / 0.718 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2544, allocations: 192 / 0.718 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.2569, allocations: 0.5509 MB / 0.7185 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.2575, allocations: 139.8 kB / 0.7186 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.262, allocations: 2.693 MB / 0.7213 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.2627, allocations: 107.8 kB / 0.7214 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.2628, allocations: 15.98 kB / 0.7214 GB, free: 9.574 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003901/0.2632, allocations: 322.3 kB / 0.7217 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.2633, allocations: 35.53 kB / 0.7217 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/0.2678, allocations: 1.391 MB / 0.7231 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2678, allocations: 4 kB / 0.7231 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2679, allocations: 3.984 kB / 0.7231 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.2679, allocations: 11.94 kB / 0.7231 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.2732, allocations: 2.044 MB / 0.7251 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2732, allocations: 0 / 0.7251 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.2736, allocations: 91.92 kB / 0.7252 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/0.2769, allocations: 0.7584 MB / 0.7259 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.277, allocations: 11.98 kB / 0.7259 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.2826, allocations: 4.364 MB / 0.7302 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2826, allocations: 0 / 0.7302 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.287, allocations: 1.412 MB / 0.7316 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.2873, allocations: 168.5 kB / 0.7317 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.2873, allocations: 15.88 kB / 0.7318 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.2879, allocations: 91.84 kB / 0.7318 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2881, allocations: 27.97 kB / 0.7319 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.2881, allocations: 8 kB / 0.7319 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003549/0.2884, allocations: 303.1 kB / 0.7322 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2885, allocations: 4 kB / 0.7322 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008426/0.2893, allocations: 196 kB / 0.7324 GB, free: 13.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.2895, allocations: 113.4 kB / 0.7325 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004344/0.2939, allocations: 1.727 MB / 0.7342 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2939, allocations: 128 / 0.7342 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.2951, allocations: 0.6417 MB / 0.7348 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.2958, allocations: 112.8 kB / 0.7349 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.2979, allocations: 1.268 MB / 0.7361 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.2985, allocations: 0.9015 MB / 0.737 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2986, allocations: 35.42 kB / 0.737 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.2986, allocations: 7.938 kB / 0.7371 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.01506/0.3137, allocations: 12.33 MB / 0.7491 GB, free: 12.69 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGridCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1