Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001027/0.001027, allocations: 92.7 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.001909/0.00191, allocations: 183.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 223.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.942/1.942, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005629/0.000563, allocations: 15.44 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3371, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004727/0.3418, allocations: 2.754 MB / 0.7912 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.3452, allocations: 1.7 MB / 0.7929 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.3454, allocations: 3.938 kB / 0.7929 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3457, allocations: 39.7 kB / 0.7929 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.3464, allocations: 195.3 kB / 0.7931 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.347, allocations: 171.7 kB / 0.7933 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.3477, allocations: 462.7 kB / 0.7937 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.3488, allocations: 0.5244 MB / 0.7942 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.3491, allocations: 107.6 kB / 0.7943 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.3495, allocations: 151.5 kB / 0.7945 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.3496, allocations: 12 kB / 0.7945 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006736/0.3502, allocations: 291.4 kB / 0.7948 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.3504, allocations: 95.7 kB / 0.7949 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3506, allocations: 129.2 kB / 0.795 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.351, allocations: 323.1 kB / 0.7953 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3511, allocations: 0 / 0.7953 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3511, allocations: 0 / 0.7953 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3511, allocations: 4 kB / 0.7953 GB, free: 4.578 MB / 0.6075 GB 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.0012/0.3523, allocations: 0.5069 MB / 0.7958 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.3524, allocations: 8.031 kB / 0.7958 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.3533, allocations: 92.55 kB / 0.7959 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.3537, allocations: 255.9 kB / 0.7961 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.3537, allocations: 20.8 kB / 0.7962 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.3539, allocations: 24.56 kB / 0.7962 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.3546, allocations: 373.1 kB / 0.7965 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3546, allocations: 0 / 0.7965 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.3547, allocations: 12 kB / 0.7965 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.3548, allocations: 32.34 kB / 0.7966 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.3553, allocations: 309.4 kB / 0.7969 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.3576, allocations: 1.533 MB / 0.7984 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.3581, allocations: 226.4 kB / 0.7986 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3583, allocations: 124.8 kB / 0.7987 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.3586, allocations: 89.09 kB / 0.7988 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3586, allocations: 38.5 kB / 0.7988 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.3586, allocations: 0 / 0.7988 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001546/0.3602, allocations: 0.7879 MB / 0.7996 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3603, allocations: 59.39 kB / 0.7997 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3605, allocations: 195.2 kB / 0.7998 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3605, allocations: 29.7 kB / 0.7999 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3607, allocations: 159.8 kB / 0.8 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.3607, allocations: 67 kB / 0.8001 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.3608, allocations: 29.7 kB / 0.8001 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.361, allocations: 330.8 kB / 0.8004 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3612, allocations: 115.9 kB / 0.8005 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.3616, allocations: 167.8 kB / 0.8007 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.3622, allocations: 317.5 kB / 0.801 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3622, allocations: 0 / 0.801 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000842/0.363, allocations: 413.8 kB / 0.8014 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3631, allocations: 4 kB / 0.8014 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3631, allocations: 4 kB / 0.8014 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.3635, allocations: 96.95 kB / 0.8015 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.3638, allocations: 55.89 kB / 0.8016 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.3661, allocations: 1.734 MB / 0.8032 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3663, allocations: 15.98 kB / 0.8033 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.3664, allocations: 12.06 kB / 0.8033 GB, free: 11.84 MB / 0.6231 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.0002221/0.3666, allocations: 161.7 kB / 0.8034 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3667, allocations: 15.81 kB / 0.8034 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/0.3673, allocations: 297.9 kB / 0.8037 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3673, allocations: 0 / 0.8037 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.3673, allocations: 4 kB / 0.8037 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3673, allocations: 0 / 0.8037 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.3685, allocations: 0.7105 MB / 0.8044 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3685, allocations: 0 / 0.8044 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.3688, allocations: 59.95 kB / 0.8045 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3688, allocations: 0 / 0.8045 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.3688, allocations: 11.98 kB / 0.8045 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3689, allocations: 0 / 0.8045 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3689, allocations: 8 kB / 0.8045 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/0.3697, allocations: 0.5047 MB / 0.805 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3698, allocations: 116.9 kB / 0.8051 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.3699, allocations: 11.94 kB / 0.8051 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3701, allocations: 15.92 kB / 0.8051 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.3701, allocations: 16.05 kB / 0.8051 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3701, allocations: 4 kB / 0.8051 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001425/0.3703, allocations: 148.6 kB / 0.8053 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3703, allocations: 0 / 0.8053 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003883/0.3707, allocations: 60 kB / 0.8053 GB, free: 9.59 MB / 0.6231 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.0002162/0.3709, allocations: 119.1 kB / 0.8055 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007724/0.3717, allocations: 427.2 kB / 0.8059 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.3717, allocations: 4 kB / 0.8059 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3719, allocations: 115.9 kB / 0.806 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3723, allocations: 35.97 kB / 0.806 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.3739, allocations: 0.8118 MB / 0.8068 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.3745, allocations: 0.7713 MB / 0.8076 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3747, allocations: 27.44 kB / 0.8076 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.3747, allocations: 0 / 0.8076 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of Templates: time 0.006406/0.3811, allocations: 3.558 MB / 0.8111 GB, free: 3.66 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1