Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009702, allocations: 91.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.000992/0.0009921, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.359/1.359, allocations: 223.2 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 270.8 kB / 292.3 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.5 MB / 0.501 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 12.62 kB / 0.5993 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 88.55 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004996/0.174, allocations: 4.463 MB / 0.6901 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.1778, allocations: 2.43 MB / 0.6925 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.178, allocations: 21.59 kB / 0.6925 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1783, allocations: 95.2 kB / 0.6926 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008314/0.1792, allocations: 417.7 kB / 0.693 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.1799, allocations: 341.1 kB / 0.6933 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1809, allocations: 1.124 MB / 0.6944 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007157/0.1817, allocations: 470.1 kB / 0.6949 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.182, allocations: 290.6 kB / 0.6952 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.1824, allocations: 334.5 kB / 0.6955 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.1825, allocations: 20 kB / 0.6955 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.1832, allocations: 498.9 kB / 0.696 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1833, allocations: 159.4 kB / 0.6961 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.1836, allocations: 319.9 kB / 0.6964 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.1843, allocations: 0.6545 MB / 0.6971 GB, free: 3.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1843, allocations: 0 / 0.6971 GB, free: 3.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1843, allocations: 0 / 0.6971 GB, free: 3.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1843, allocations: 0 / 0.6971 GB, free: 3.422 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001132/0.1854, allocations: 0.8219 MB / 0.6979 GB, free: 2.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1855, allocations: 12.03 kB / 0.6979 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.1867, allocations: 199.8 kB / 0.6981 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.1873, allocations: 494.3 kB / 0.6986 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.1873, allocations: 37.36 kB / 0.6986 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.1874, allocations: 48.36 kB / 0.6986 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.1884, allocations: 0.8409 MB / 0.6995 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1885, allocations: 15.94 kB / 0.6995 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.1885, allocations: 23.98 kB / 0.6995 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-05/0.1886, allocations: 68.89 kB / 0.6996 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.1894, allocations: 0.5617 MB / 0.7001 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.194, allocations: 5.658 MB / 0.7056 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.1946, allocations: 450.3 kB / 0.7061 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.1949, allocations: 224.7 kB / 0.7063 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.195, allocations: 4 kB / 0.7063 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.195, allocations: 38.56 kB / 0.7063 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.086e-06/0.195, allocations: 3.984 kB / 0.7063 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002475/0.1975, allocations: 1.513 MB / 0.7078 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.1975, allocations: 55.69 kB / 0.7079 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.198, allocations: 498.9 kB / 0.7083 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1981, allocations: 33.7 kB / 0.7084 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.1983, allocations: 366.8 kB / 0.7087 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1984, allocations: 114.4 kB / 0.7088 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.1985, allocations: 45.7 kB / 0.7089 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1986, allocations: 370.8 kB / 0.7092 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.1989, allocations: 193.2 kB / 0.7094 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.1994, allocations: 451.3 kB / 0.7098 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.2002, allocations: 0.692 MB / 0.7105 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2002, allocations: 7.938 kB / 0.7105 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001196/0.2014, allocations: 0.8018 MB / 0.7113 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2014, allocations: 13.88 kB / 0.7113 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2014, allocations: 8 kB / 0.7113 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.2019, allocations: 156 kB / 0.7115 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.2024, allocations: 127.9 kB / 0.7116 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.2055, allocations: 4.032 MB / 0.7155 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.2059, allocations: 35.97 kB / 0.7156 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.2059, allocations: 32.14 kB / 0.7156 GB, free: 15 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.2062, allocations: 216.5 kB / 0.7158 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.2063, allocations: 59.25 kB / 0.7159 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.2073, allocations: 0.6009 MB / 0.7164 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2073, allocations: 4 kB / 0.7165 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2073, allocations: 4 kB / 0.7165 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.2074, allocations: 7.922 kB / 0.7165 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.209, allocations: 1.259 MB / 0.7177 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2091, allocations: 0 / 0.7177 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.2093, allocations: 51.95 kB / 0.7177 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.2097, allocations: 148.3 kB / 0.7179 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2098, allocations: 8 kB / 0.7179 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.2127, allocations: 4.028 MB / 0.7218 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2127, allocations: 3.938 kB / 0.7218 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.2137, allocations: 0.7038 MB / 0.7225 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.2139, allocations: 172.3 kB / 0.7227 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.214, allocations: 11.94 kB / 0.7227 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.2143, allocations: 23.97 kB / 0.7227 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.2143, allocations: 27.97 kB / 0.7227 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.2144, allocations: 12 kB / 0.7228 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003911/0.2148, allocations: 330.8 kB / 0.7231 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2148, allocations: 0 / 0.7231 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006314/0.2154, allocations: 144 kB / 0.7232 GB, free: 6.602 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.2156, allocations: 115.1 kB / 0.7233 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.2169, allocations: 1.045 MB / 0.7243 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.217, allocations: 0 / 0.7243 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008225/0.2178, allocations: 0.7347 MB / 0.7251 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2189, allocations: 194.2 kB / 0.7252 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.2205, allocations: 1.313 MB / 0.7265 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.221, allocations: 0.9059 MB / 0.7274 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.2212, allocations: 43.44 kB / 0.7274 GB, free: 2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.896e-06/0.2212, allocations: 0 / 0.7274 GB, free: 2 MB / 0.5137 GB Notification: Performance of Templates: time 0.02081/0.242, allocations: 17.9 MB / 0.7449 GB, free: 128 kB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedanceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o] Error 1