Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009937, allocations: 92.16 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.001066/0.001066, allocations: 182.5 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.342/1.342, 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.00166/0.00166, allocations: 262.9 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9505/0.9505, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004325, allocations: 17.52 kB / 0.5993 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 88.54 MB / 0.6858 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005104/0.1722, allocations: 3.391 MB / 0.6891 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.1756, allocations: 1.777 MB / 0.6908 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.176, allocations: 15.88 kB / 0.6908 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.1763, allocations: 55.5 kB / 0.6909 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000932/0.1773, allocations: 270.6 kB / 0.6912 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.178, allocations: 228.8 kB / 0.6914 GB, free: 9.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.1791, allocations: 0.7452 MB / 0.6921 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008572/0.18, allocations: 375.5 kB / 0.6925 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.1804, allocations: 199.1 kB / 0.6927 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.1809, allocations: 223 kB / 0.6929 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.181, allocations: 12 kB / 0.6929 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006799/0.1817, allocations: 335.3 kB / 0.6932 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.1818, allocations: 111.6 kB / 0.6933 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.1822, allocations: 212.6 kB / 0.6935 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.1828, allocations: 454.8 kB / 0.6939 GB, free: 6.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1828, allocations: 0 / 0.6939 GB, free: 6.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1828, allocations: 0 / 0.6939 GB, free: 6.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1828, allocations: 0 / 0.6939 GB, free: 6.652 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001221/0.1841, allocations: 0.6701 MB / 0.6946 GB, free: 5.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1841, allocations: 12.03 kB / 0.6946 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.185, allocations: 124.2 kB / 0.6947 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.1856, allocations: 375.7 kB / 0.6951 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1856, allocations: 25.02 kB / 0.6951 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.1857, allocations: 28.38 kB / 0.6951 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.1866, allocations: 0.5549 MB / 0.6957 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.1866, allocations: 4 kB / 0.6957 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.1867, allocations: 15.98 kB / 0.6957 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.685e-05/0.1867, allocations: 40.53 kB / 0.6957 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.1875, allocations: 429.6 kB / 0.6961 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.191, allocations: 3.341 MB / 0.6994 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.1917, allocations: 343.8 kB / 0.6997 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.1921, allocations: 184.7 kB / 0.6999 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1921, allocations: 4 kB / 0.6999 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1921, allocations: 38.56 kB / 0.6999 GB, free: 72 kB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 2.484e-06/0.1921, allocations: 0 / 0.6999 GB, free: 72 kB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.002153/0.1943, allocations: 1.083 MB / 0.701 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1943, allocations: 55.64 kB / 0.7011 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.1947, allocations: 341.6 kB / 0.7014 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1947, allocations: 29.7 kB / 0.7014 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1949, allocations: 251.5 kB / 0.7017 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.195, allocations: 86.75 kB / 0.7017 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.1951, allocations: 37.7 kB / 0.7018 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1952, allocations: 354.7 kB / 0.7021 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.1955, allocations: 148.8 kB / 0.7023 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.1959, allocations: 298.5 kB / 0.7025 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/0.1966, allocations: 491.2 kB / 0.703 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1966, allocations: 3.984 kB / 0.703 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001015/0.1976, allocations: 0.5694 MB / 0.7036 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1977, allocations: 8 kB / 0.7036 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1977, allocations: 4 kB / 0.7036 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/0.198, allocations: 95.02 kB / 0.7037 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.1984, allocations: 91.88 kB / 0.7038 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.1984, allocations: 11.94 kB / 0.7038 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1987, allocations: 31.91 kB / 0.7038 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.1987, allocations: 16 kB / 0.7038 GB, free: 11.85 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.1989, allocations: 182.3 kB / 0.704 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.199, allocations: 39.53 kB / 0.704 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009158/0.1999, allocations: 479.9 kB / 0.7045 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.2, allocations: 8 kB / 0.7045 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.2, allocations: 0 / 0.7045 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2, allocations: 3.984 kB / 0.7045 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.2015, allocations: 0.9676 MB / 0.7054 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2015, allocations: 7.984 kB / 0.7054 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.2017, allocations: 51.91 kB / 0.7055 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.202, allocations: 82.59 kB / 0.7056 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.202, allocations: 8 kB / 0.7056 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.202, allocations: 7.938 kB / 0.7056 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.202, allocations: 0 / 0.7056 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.2029, allocations: 0.5619 MB / 0.7061 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.2031, allocations: 132.6 kB / 0.7063 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.2031, allocations: 8 kB / 0.7063 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.2034, allocations: 27.91 kB / 0.7063 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.2035, allocations: 39.78 kB / 0.7063 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2035, allocations: 4 kB / 0.7063 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000243/0.2037, allocations: 239.2 kB / 0.7066 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2037, allocations: 0 / 0.7066 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004344/0.2042, allocations: 88 kB / 0.7067 GB, free: 8.781 MB / 0.4981 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001455/0.2043, allocations: 111.2 kB / 0.7068 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009322/0.2053, allocations: 0.6353 MB / 0.7074 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2053, allocations: 0 / 0.7074 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.2058, allocations: 444.9 kB / 0.7078 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.2066, allocations: 117.7 kB / 0.7079 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2079, allocations: 0.9396 MB / 0.7088 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.2084, allocations: 0.8197 MB / 0.7096 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2085, allocations: 31.44 kB / 0.7097 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2085, allocations: 0 / 0.7097 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of Templates: time 0.0132/0.2217, allocations: 9.388 MB / 0.7188 GB, free: 12.13 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedanceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.o] Error 1