Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.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.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.001301/0.001301, allocations: 102.6 kB / 15.71 MB, free: 460 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.002548/0.002548, allocations: 172.4 kB / 16.58 MB, free: 6.395 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.447/1.447, allocations: 223.3 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 436.7 MB / 0.7113 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003601, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8448, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00376/0.8486, allocations: 2.684 MB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.8512, allocations: 1.594 MB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.8513, allocations: 3.938 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.8515, allocations: 47.7 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004904/0.852, allocations: 151.3 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.8525, allocations: 139.7 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.8529, allocations: 370.8 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009151/0.8538, allocations: 0.4953 MB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.854, allocations: 103.6 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.8544, allocations: 151.5 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.8544, allocations: 12 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.8548, allocations: 143.8 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.8549, allocations: 87.77 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.8549, allocations: 65.58 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.8553, allocations: 321.1 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8554, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.886e-06/0.8554, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.8554, allocations: 0 / 1.028 GB, free: 10.69 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009557/0.8563, allocations: 0.5067 MB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.8564, allocations: 11.98 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007122/0.8571, allocations: 91.61 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.8574, allocations: 256.5 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.8575, allocations: 16.42 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.8576, allocations: 31.92 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.8582, allocations: 365 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8582, allocations: 0 / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.8582, allocations: 12 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.8583, allocations: 32.36 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.8588, allocations: 301.5 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.8607, allocations: 1.541 MB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.8611, allocations: 230.4 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.8613, allocations: 112.8 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.8614, allocations: 89.09 kB / 1.031 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.8615, allocations: 38.56 kB / 1.031 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.8615, allocations: 0 / 1.031 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001271/0.8628, allocations: 0.7856 MB / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.8628, allocations: 51.41 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.863, allocations: 194.6 kB / 1.032 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.8631, allocations: 25.7 kB / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.8632, allocations: 163.9 kB / 1.033 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.8632, allocations: 71 kB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.8633, allocations: 7.938 kB / 1.033 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8634, allocations: 322.8 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.8636, allocations: 115.9 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.8638, allocations: 178.9 kB / 1.033 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.864, allocations: 124 kB / 1.033 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.864, allocations: 0 / 1.033 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007465/0.8648, allocations: 424.8 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8648, allocations: 4 kB / 1.034 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.8648, allocations: 7.938 kB / 1.034 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.8652, allocations: 100.9 kB / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.8655, allocations: 55.89 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.8673, allocations: 1.738 MB / 1.036 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.8675, allocations: 15.97 kB / 1.036 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.8676, allocations: 8 kB / 1.036 GB, free: 2.176 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.8678, allocations: 161.7 kB / 1.036 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.8678, allocations: 15.81 kB / 1.036 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.8683, allocations: 301 kB / 1.036 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.8683, allocations: 7.984 kB / 1.036 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.8683, allocations: 3.938 kB / 1.036 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8683, allocations: 0 / 1.036 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/0.8693, allocations: 0.7001 MB / 1.037 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8693, allocations: 8.062 kB / 1.037 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.8696, allocations: 55.95 kB / 1.037 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8696, allocations: 0 / 1.037 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.8696, allocations: 8 kB / 1.037 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.8696, allocations: 3.938 kB / 1.037 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8696, allocations: 7.953 kB / 1.037 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.8703, allocations: 0.5141 MB / 1.037 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.8704, allocations: 116.9 kB / 1.038 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.8704, allocations: 8 kB / 1.038 GB, free: 168 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.8706, allocations: 7.984 kB / 1.038 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.8706, allocations: 19.94 kB / 1.038 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.8707, allocations: 7.938 kB / 1.038 GB, free: 132 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001513/0.8708, allocations: 144 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.373e-06/0.8708, allocations: 0 / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003631/0.8712, allocations: 71.94 kB / 1.038 GB, free: 15.91 MB / 0.795 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 (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.0001737/0.8714, allocations: 115.3 kB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00072/0.8721, allocations: 415.4 kB / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8721, allocations: 0 / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.8723, allocations: 124.2 kB / 1.038 GB, free: 15.25 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.8727, allocations: 35.53 kB / 1.038 GB, free: 15.22 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.874, allocations: 0.8002 MB / 1.039 GB, free: 14.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.8744, allocations: 0.7756 MB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.8745, allocations: 23.42 kB / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.8745, allocations: 0 / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Performance of Templates: time 0.007065/0.8816, allocations: 3.564 MB / 1.043 GB, free: 10 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1