Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008865/0.0008867, allocations: 99.27 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.001066/0.001066, allocations: 180.7 kB / 16.92 MB, free: 6.918 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.319/1.319, allocations: 223.2 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 278.1 kB / 292.3 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.000412, allocations: 11.69 kB / 0.5993 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 88.55 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003588/0.1803, allocations: 2.753 MB / 0.6885 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1828, allocations: 1.708 MB / 0.6901 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1829, allocations: 7.938 kB / 0.6901 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1831, allocations: 39.7 kB / 0.6902 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.1836, allocations: 188.3 kB / 0.6904 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.184, allocations: 165.4 kB / 0.6905 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.1844, allocations: 468.1 kB / 0.691 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009029/0.1854, allocations: 0.5336 MB / 0.6915 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1855, allocations: 103.6 kB / 0.6916 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.1858, allocations: 152.2 kB / 0.6917 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1859, allocations: 12 kB / 0.6917 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.1863, allocations: 285.1 kB / 0.692 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.1864, allocations: 87.77 kB / 0.6921 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1865, allocations: 133.1 kB / 0.6922 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1869, allocations: 327.2 kB / 0.6925 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1869, allocations: 0 / 0.6925 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1869, allocations: 0.875 kB / 0.6925 GB, free: 8.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.1869, allocations: 3.938 kB / 0.6925 GB, free: 8.09 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008156/0.1877, allocations: 0.4976 MB / 0.693 GB, free: 7.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1878, allocations: 8.031 kB / 0.693 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.1885, allocations: 93.39 kB / 0.6931 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1888, allocations: 252 kB / 0.6934 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1888, allocations: 20.81 kB / 0.6934 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.1889, allocations: 32.45 kB / 0.6934 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.1895, allocations: 369.1 kB / 0.6938 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1895, allocations: 0 / 0.6938 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1895, allocations: 15.98 kB / 0.6938 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.673e-05/0.1896, allocations: 32.41 kB / 0.6938 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.1901, allocations: 309.5 kB / 0.6941 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.1919, allocations: 1.533 MB / 0.6956 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.1923, allocations: 234.4 kB / 0.6958 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1925, allocations: 116.8 kB / 0.6959 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.1926, allocations: 81.11 kB / 0.696 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1927, allocations: 42.55 kB / 0.6961 GB, free: 4.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.1927, allocations: 0 / 0.6961 GB, free: 4.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001215/0.1939, allocations: 0.7828 MB / 0.6968 GB, free: 3.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1939, allocations: 63.34 kB / 0.6969 GB, free: 3.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1941, allocations: 194.6 kB / 0.6971 GB, free: 3.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1942, allocations: 29.7 kB / 0.6971 GB, free: 3.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.1943, allocations: 155.9 kB / 0.6972 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.1943, allocations: 74.98 kB / 0.6973 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.1944, allocations: 29.7 kB / 0.6973 GB, free: 2.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1945, allocations: 326.8 kB / 0.6977 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1947, allocations: 115.9 kB / 0.6978 GB, free: 2.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.1949, allocations: 180 kB / 0.6979 GB, free: 2.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.1953, allocations: 295.3 kB / 0.6982 GB, free: 1.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1953, allocations: 0 / 0.6982 GB, free: 1.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007224/0.196, allocations: 417.8 kB / 0.6986 GB, free: 1.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1961, allocations: 4 kB / 0.6986 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1961, allocations: 8.172 kB / 0.6986 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.1965, allocations: 100.8 kB / 0.6987 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.1967, allocations: 55.89 kB / 0.6988 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.1985, allocations: 1.734 MB / 0.7005 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1987, allocations: 20.03 kB / 0.7005 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.1987, allocations: 12 kB / 0.7005 GB, free: 15.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.1989, allocations: 163 kB / 0.7007 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.1989, allocations: 19.81 kB / 0.7007 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.1994, allocations: 295.3 kB / 0.701 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1994, allocations: 8 kB / 0.701 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1994, allocations: 0 / 0.701 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1994, allocations: 192 / 0.701 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.2003, allocations: 0.7093 MB / 0.7017 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2003, allocations: 0 / 0.7017 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.2006, allocations: 55.89 kB / 0.7017 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2006, allocations: 4 kB / 0.7017 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.2006, allocations: 4.062 kB / 0.7017 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2007, allocations: 8 kB / 0.7017 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2007, allocations: 7.922 kB / 0.7017 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.2013, allocations: 0.5139 MB / 0.7022 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2014, allocations: 116.9 kB / 0.7023 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.2014, allocations: 3.938 kB / 0.7024 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2016, allocations: 23.98 kB / 0.7024 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.2017, allocations: 7.984 kB / 0.7024 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.2017, allocations: 12 kB / 0.7024 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000129/0.2018, allocations: 140.6 kB / 0.7025 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2018, allocations: 0 / 0.7025 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000352/0.2022, allocations: 72 kB / 0.7026 GB, free: 13.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[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 (20): * Single equations (assignments): 20 * 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.0001812/0.2024, allocations: 115.2 kB / 0.7027 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007354/0.2031, allocations: 414.4 kB / 0.7031 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2032, allocations: 0 / 0.7031 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.2033, allocations: 127.8 kB / 0.7032 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.2037, allocations: 41.94 kB / 0.7033 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.205, allocations: 0.7972 MB / 0.704 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2053, allocations: 0.7755 MB / 0.7048 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.2054, allocations: 23.44 kB / 0.7048 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2054, allocations: 4 kB / 0.7048 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.005889/0.2113, allocations: 3.555 MB / 0.7083 GB, free: 7.18 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1