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.009476/0.009476, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002456/0.002456, allocations: 195.2 kB / 16.79 MB, free: 5.809 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.781/1.781, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004208/0.004208, allocations: 286.4 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.223/1.223, allocations: 169.2 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 91.77 kB / 0.5951 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2396, allocations: 86.98 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005732/0.2454, allocations: 3.116 MB / 0.6831 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.2489, allocations: 1.737 MB / 0.6848 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.2492, allocations: 4 kB / 0.6848 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.2504, allocations: 310.9 kB / 0.6851 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007399/0.2512, allocations: 207.3 kB / 0.6853 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.2518, allocations: 162.4 kB / 0.6855 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.2525, allocations: 462.8 kB / 0.6859 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.2531, allocations: 240.6 kB / 0.6861 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.2534, allocations: 115.5 kB / 0.6863 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.2539, allocations: 163.4 kB / 0.6864 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.254, allocations: 16 kB / 0.6864 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006338/0.2546, allocations: 291.4 kB / 0.6867 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.2548, allocations: 103.8 kB / 0.6868 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.255, allocations: 115.4 kB / 0.6869 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.2556, allocations: 327.3 kB / 0.6872 GB, free: 9.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2556, allocations: 4 kB / 0.6872 GB, free: 9.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2556, allocations: 0 / 0.6872 GB, free: 9.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.2556, allocations: 0 / 0.6872 GB, free: 9.848 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.001259/0.2569, allocations: 0.542 MB / 0.6878 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.257, allocations: 8.031 kB / 0.6878 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008235/0.2578, allocations: 92.55 kB / 0.6879 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.2582, allocations: 255.9 kB / 0.6881 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2583, allocations: 20.8 kB / 0.6881 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.2584, allocations: 24.56 kB / 0.6881 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.2591, allocations: 377.1 kB / 0.6885 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2591, allocations: 0 / 0.6885 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.2592, allocations: 8 kB / 0.6885 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.2593, allocations: 36.39 kB / 0.6885 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.2599, allocations: 309.5 kB / 0.6888 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.262, allocations: 1.529 MB / 0.6903 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.2625, allocations: 234.3 kB / 0.6906 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2627, allocations: 120.8 kB / 0.6907 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.2629, allocations: 89.09 kB / 0.6908 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2629, allocations: 34.5 kB / 0.6908 GB, free: 5.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.2629, allocations: 0 / 0.6908 GB, free: 5.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001558/0.2645, allocations: 0.7938 MB / 0.6916 GB, free: 5.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2646, allocations: 59.39 kB / 0.6916 GB, free: 4.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.2648, allocations: 186.7 kB / 0.6918 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.2649, allocations: 29.7 kB / 0.6918 GB, free: 4.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.265, allocations: 159.8 kB / 0.692 GB, free: 4.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.2651, allocations: 70.94 kB / 0.692 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2653, allocations: 57.69 kB / 0.6921 GB, free: 4.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2654, allocations: 330.8 kB / 0.6924 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2656, allocations: 111.9 kB / 0.6925 GB, free: 4.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.2658, allocations: 172 kB / 0.6927 GB, free: 3.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.2663, allocations: 307 kB / 0.693 GB, free: 3.523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2663, allocations: 0 / 0.693 GB, free: 3.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008503/0.2671, allocations: 413.8 kB / 0.6934 GB, free: 3.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.2672, allocations: 10.19 kB / 0.6934 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.2672, allocations: 4.188 kB / 0.6934 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/0.2677, allocations: 104.8 kB / 0.6935 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.268, allocations: 51.89 kB / 0.6935 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.2702, allocations: 1.73 MB / 0.6952 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.2704, allocations: 24.06 kB / 0.6953 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.2705, allocations: 8 kB / 0.6953 GB, free: 1.047 MB / 494.1 MB 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.0002169/0.2707, allocations: 162.3 kB / 0.6954 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.2708, allocations: 15.81 kB / 0.6954 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.2713, allocations: 297.2 kB / 0.6957 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.2713, allocations: 4 kB / 0.6957 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2713, allocations: 192 / 0.6957 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2713, allocations: 0 / 0.6957 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.2725, allocations: 0.7106 MB / 0.6964 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2725, allocations: 0 / 0.6964 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.2728, allocations: 63.89 kB / 0.6965 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.2728, allocations: 0 / 0.6965 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2729, allocations: 8.062 kB / 0.6965 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2729, allocations: 0 / 0.6965 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2729, allocations: 7.938 kB / 0.6965 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.2736, allocations: 0.5125 MB / 0.697 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.2737, allocations: 112.9 kB / 0.6971 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.2738, allocations: 8 kB / 0.6971 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.274, allocations: 15.98 kB / 0.6971 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.274, allocations: 15.98 kB / 0.6971 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.2741, allocations: 4 kB / 0.6971 GB, free: 15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001974/0.2743, allocations: 144.6 kB / 0.6973 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2743, allocations: 3.938 kB / 0.6973 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004087/0.2747, allocations: 68 kB / 0.6973 GB, free: 14.79 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.0002049/0.2749, allocations: 111.2 kB / 0.6975 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008402/0.2757, allocations: 414.4 kB / 0.6978 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2758, allocations: 0 / 0.6978 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.2759, allocations: 123.8 kB / 0.698 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.2764, allocations: 40.45 kB / 0.698 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2778, allocations: 0.762 MB / 0.6987 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2782, allocations: 0.7677 MB / 0.6995 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.2783, allocations: 27.42 kB / 0.6995 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.2783, allocations: 0 / 0.6995 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.007468/0.2858, allocations: 3.588 MB / 0.703 GB, free: 8.902 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