Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009004, allocations: 99.59 kB / 15.71 MB, free: 452 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.0009354/0.0009354, allocations: 175.7 kB / 16.58 MB, free: 6.422 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.462/1.462, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7679, allocations: 153.6 MB / 1.022 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003142/0.7711, allocations: 2.252 MB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.7732, allocations: 1.38 MB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.7733, allocations: 7.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.7735, allocations: 23.8 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.7739, allocations: 139.4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.7743, allocations: 118.6 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.7746, allocations: 279.2 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005922/0.7752, allocations: 302.5 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.7754, allocations: 79.69 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.7756, allocations: 107.6 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.7757, allocations: 8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.7759, allocations: 123.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.776, allocations: 63.8 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.7761, allocations: 53.64 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.7764, allocations: 241.5 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7764, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7764, allocations: 8 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.7764, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006101/0.777, allocations: 455 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.777, allocations: 11.98 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.7776, allocations: 79.66 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.7779, allocations: 234.7 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.7779, allocations: 16.28 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.7779, allocations: 16 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.7784, allocations: 319.8 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7784, allocations: 4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.7785, allocations: 4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.7785, allocations: 24.27 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.7789, allocations: 252.6 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.7805, allocations: 1.638 MB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.7811, allocations: 403.2 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.7813, allocations: 89.66 kB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.7814, allocations: 89.03 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.7815, allocations: 38.56 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.7815, allocations: 0 / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006596/0.7821, allocations: 308.6 kB / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.7822, allocations: 81.11 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.7824, allocations: 175.2 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.7824, allocations: 29.7 kB / 1.031 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.7825, allocations: 148 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.7825, allocations: 55.34 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.7826, allocations: 0 / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7827, allocations: 326.8 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.7828, allocations: 75.95 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.783, allocations: 153.3 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.7831, allocations: 95.95 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7831, allocations: 0 / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003866/0.7835, allocations: 269.2 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.431e-05/0.7836, allocations: 161.9 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7837, allocations: 0 / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7837, allocations: 11.98 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.7839, allocations: 59.91 kB / 1.032 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.7839, allocations: 7.938 kB / 1.032 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.7841, allocations: 15.92 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.7841, allocations: 19.92 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.7841, allocations: 4 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003026/0.7844, allocations: 210.3 kB / 1.032 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-06/0.7844, allocations: 4.031 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.7844, allocations: 4.188 kB / 1.032 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.7846, allocations: 55.91 kB / 1.032 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7846, allocations: 7.938 kB / 1.032 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.164e-05/0.7847, allocations: 11.89 kB / 1.032 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.7847, allocations: 12 kB / 1.033 GB, free: 5.719 MB / 0.7794 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.7849, allocations: 228.9 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.785, allocations: 15.91 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.7853, allocations: 199.8 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.7853, allocations: 4 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7853, allocations: 0 / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7854, allocations: 0 / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.7865, allocations: 0.9732 MB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7865, allocations: 4 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.7867, allocations: 31.92 kB / 1.034 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.7867, allocations: 7.984 kB / 1.034 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.7867, allocations: 4 kB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.7867, allocations: 7.938 kB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7867, allocations: 4 kB / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.7871, allocations: 436.9 kB / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/0.7872, allocations: 112.9 kB / 1.034 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.7872, allocations: 7.984 kB / 1.034 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.7874, allocations: 19.98 kB / 1.034 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.7874, allocations: 19.92 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.7875, allocations: 11.95 kB / 1.035 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001096/0.7876, allocations: 127.2 kB / 1.035 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7876, allocations: 0 / 1.035 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004917/0.7881, allocations: 72 kB / 1.035 GB, free: 3.254 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.7882, allocations: 111.2 kB / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.7887, allocations: 301.7 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7887, allocations: 4 kB / 1.035 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.7888, allocations: 77.33 kB / 1.035 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.7893, allocations: 28.77 kB / 1.035 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.7901, allocations: 0.6059 MB / 1.036 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.7905, allocations: 0.748 MB / 1.037 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.7906, allocations: 15.44 kB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.7906, allocations: 7.938 kB / 1.037 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of Templates: time 0.004097/0.7947, allocations: 2.332 MB / 1.039 GB, free: 14.93 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1