Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009013, 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.0009847/0.0009847, allocations: 174.5 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001644/0.001644, allocations: 267.2 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.9628/0.9628, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 14.72 kB / 0.5993 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004241/0.1758, allocations: 2.923 MB / 0.6886 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.1788, allocations: 1.841 MB / 0.6904 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.179, allocations: 5.594 kB / 0.6904 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1792, allocations: 39.64 kB / 0.6905 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.1796, allocations: 198 kB / 0.6907 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.1802, allocations: 270.3 kB / 0.6909 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.1808, allocations: 0.5649 MB / 0.6915 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007817/0.1816, allocations: 461.9 kB / 0.6919 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1818, allocations: 128.2 kB / 0.692 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.1821, allocations: 201.2 kB / 0.6922 GB, free: 8.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1822, allocations: 16 kB / 0.6923 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.1826, allocations: 271.5 kB / 0.6925 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1827, allocations: 103.7 kB / 0.6926 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.1829, allocations: 165 kB / 0.6928 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.1832, allocations: 355.1 kB / 0.6931 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1832, allocations: 0 / 0.6931 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.1833, allocations: 0 / 0.6931 GB, free: 7.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1833, allocations: 3.938 kB / 0.6931 GB, free: 7.527 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009861/0.1843, allocations: 0.5303 MB / 0.6936 GB, free: 6.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1843, allocations: 12.03 kB / 0.6936 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000741/0.1851, allocations: 96.45 kB / 0.6937 GB, free: 6.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1854, allocations: 272.5 kB / 0.694 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.1854, allocations: 16.94 kB / 0.694 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.1856, allocations: 40.39 kB / 0.694 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.1863, allocations: 449.1 kB / 0.6945 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1863, allocations: 3.938 kB / 0.6945 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1864, allocations: 12 kB / 0.6945 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.1865, allocations: 44.47 kB / 0.6945 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.187, allocations: 349.9 kB / 0.6949 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.1894, allocations: 2.21 MB / 0.697 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1898, allocations: 266.4 kB / 0.6973 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1901, allocations: 157.5 kB / 0.6974 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1901, allocations: 4 kB / 0.6974 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1901, allocations: 38.55 kB / 0.6975 GB, free: 2.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.1901, allocations: 4 kB / 0.6975 GB, free: 2.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001736/0.1919, allocations: 1.053 MB / 0.6985 GB, free: 1.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.1919, allocations: 59.34 kB / 0.6986 GB, free: 1.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1922, allocations: 248.9 kB / 0.6988 GB, free: 1.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1922, allocations: 29.7 kB / 0.6988 GB, free: 1.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1923, allocations: 192 kB / 0.699 GB, free: 1.051 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.1924, allocations: 86.83 kB / 0.6991 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.1925, allocations: 37.7 kB / 0.6991 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1926, allocations: 326.8 kB / 0.6994 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.1928, allocations: 151.9 kB / 0.6996 GB, free: 456 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.1931, allocations: 241.5 kB / 0.6998 GB, free: 176 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.1937, allocations: 403.5 kB / 0.7002 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1937, allocations: 7.875 kB / 0.7002 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001051/0.1947, allocations: 0.5854 MB / 0.7008 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1948, allocations: 8 kB / 0.7008 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1948, allocations: 0 / 0.7008 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.1954, allocations: 188.9 kB / 0.701 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1957, allocations: 59.89 kB / 0.701 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.1984, allocations: 2.296 MB / 0.7033 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1987, allocations: 19.98 kB / 0.7033 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1987, allocations: 12 kB / 0.7033 GB, free: 12.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.1989, allocations: 163.1 kB / 0.7035 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.199, allocations: 27.66 kB / 0.7035 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.1995, allocations: 369.5 kB / 0.7038 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1995, allocations: 0 / 0.7038 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1995, allocations: 0 / 0.7038 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1995, allocations: 7.984 kB / 0.7038 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.2006, allocations: 0.8121 MB / 0.7046 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2006, allocations: 4 kB / 0.7046 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.201, allocations: 75.88 kB / 0.7047 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.201, allocations: 4.062 kB / 0.7047 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.201, allocations: 8 kB / 0.7047 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.201, allocations: 0 / 0.7047 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.201, allocations: 3.938 kB / 0.7047 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.2018, allocations: 0.6158 MB / 0.7053 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.2019, allocations: 128.8 kB / 0.7054 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.2019, allocations: 4 kB / 0.7054 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.2021, allocations: 15.98 kB / 0.7055 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2022, allocations: 19.97 kB / 0.7055 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2022, allocations: 4 kB / 0.7055 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001687/0.2024, allocations: 180.5 kB / 0.7057 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2024, allocations: 0 / 0.7057 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003819/0.2028, allocations: 87.94 kB / 0.7057 GB, free: 9.805 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001654/0.203, allocations: 119.2 kB / 0.7059 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008288/0.2038, allocations: 0.5239 MB / 0.7064 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.2038, allocations: 0 / 0.7064 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.204, allocations: 152.4 kB / 0.7065 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.2045, allocations: 53.33 kB / 0.7066 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.206, allocations: 1.067 MB / 0.7076 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.2064, allocations: 0.7912 MB / 0.7084 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2065, allocations: 27.42 kB / 0.7084 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2065, allocations: 4 kB / 0.7084 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Templates: time 0.006438/0.213, allocations: 4.386 MB / 0.7127 GB, free: 2.609 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoadsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.o] Error 1