Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001079/0.001079, allocations: 99.05 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.001313/0.001313, allocations: 178 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.51/1.51, 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 9.1.2-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.4 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 11.98 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7282, allocations: 142.3 MB / 0.9544 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003319/0.7316, allocations: 2.679 MB / 0.957 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.7341, allocations: 1.605 MB / 0.9586 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.7343, allocations: 2.656 kB / 0.9586 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.7346, allocations: 37.17 kB / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.7351, allocations: 157.4 kB / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.7356, allocations: 145.9 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.736, allocations: 369.2 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.7368, allocations: 0.4893 MB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.737, allocations: 111.8 kB / 0.9599 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.7373, allocations: 149.5 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.7373, allocations: 9.625 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.7377, allocations: 134.1 kB / 0.9601 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.7378, allocations: 94.09 kB / 0.9602 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.7378, allocations: 62.3 kB / 0.9603 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.7382, allocations: 323.2 kB / 0.9606 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7382, allocations: 0 / 0.9606 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7382, allocations: 1.031 kB / 0.9606 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7382, allocations: 0 / 0.9606 GB, free: 3.398 MB / 0.7169 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.0008008/0.739, allocations: 0.5025 MB / 0.9611 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.7391, allocations: 9.531 kB / 0.9611 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.7398, allocations: 100.2 kB / 0.9612 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.7401, allocations: 243.2 kB / 0.9614 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.7401, allocations: 17.81 kB / 0.9614 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.7402, allocations: 31.88 kB / 0.9615 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.7409, allocations: 372.7 kB / 0.9618 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.7409, allocations: 1.031 kB / 0.9618 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.7409, allocations: 10.44 kB / 0.9618 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.7411, allocations: 28.52 kB / 0.9619 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.7416, allocations: 305 kB / 0.9622 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.7432, allocations: 1.541 MB / 0.9637 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.7437, allocations: 228.2 kB / 0.9639 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.7439, allocations: 116 kB / 0.964 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.744, allocations: 91.66 kB / 0.9641 GB, free: 472 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.7441, allocations: 31.84 kB / 0.9641 GB, free: 432 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.7441, allocations: 3.938 kB / 0.9641 GB, free: 428 kB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.00148/0.7456, allocations: 0.7903 MB / 0.9649 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.7456, allocations: 57.69 kB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.7459, allocations: 191.7 kB / 0.9651 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.7459, allocations: 30.75 kB / 0.9652 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.746, allocations: 160.1 kB / 0.9653 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.7461, allocations: 70.94 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.7461, allocations: 5.062 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7462, allocations: 324 kB / 0.9657 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.7464, allocations: 116.3 kB / 0.9658 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.7467, allocations: 167.1 kB / 0.966 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.7469, allocations: 140.3 kB / 0.9661 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7469, allocations: 0 / 0.9661 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007693/0.7477, allocations: 416.5 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.7477, allocations: 5.5 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7478, allocations: 2 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.7482, allocations: 98.55 kB / 0.9666 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.7485, allocations: 53.8 kB / 0.9666 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.7505, allocations: 1.733 MB / 0.9683 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.7507, allocations: 20.16 kB / 0.9684 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.7507, allocations: 10.94 kB / 0.9684 GB, free: 12.94 MB / 0.7325 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.0001965/0.7509, allocations: 164.3 kB / 0.9685 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.751, allocations: 20.19 kB / 0.9685 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000555/0.7516, allocations: 294.5 kB / 0.9688 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7516, allocations: 3.156 kB / 0.9688 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.7516, allocations: 4 kB / 0.9688 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.7516, allocations: 0 / 0.9688 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.7526, allocations: 0.7097 MB / 0.9695 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7527, allocations: 0.7188 kB / 0.9695 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.753, allocations: 61.98 kB / 0.9696 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.753, allocations: 6 kB / 0.9696 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.753, allocations: 2 kB / 0.9696 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.753, allocations: 1.969 kB / 0.9696 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.753, allocations: 5.406 kB / 0.9696 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.7537, allocations: 0.5168 MB / 0.9701 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.7538, allocations: 119.5 kB / 0.9702 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.7539, allocations: 11.16 kB / 0.9702 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.7541, allocations: 9.828 kB / 0.9702 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.7541, allocations: 18.45 kB / 0.9703 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.7541, allocations: 4.75 kB / 0.9703 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001465/0.7543, allocations: 142.1 kB / 0.9704 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7543, allocations: 0 / 0.9704 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004101/0.7547, allocations: 65.75 kB / 0.9705 GB, free: 11.4 MB / 0.7325 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.0001818/0.7549, allocations: 112.1 kB / 0.9706 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008294/0.7557, allocations: 414.8 kB / 0.971 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7557, allocations: 0 / 0.971 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.7559, allocations: 125.5 kB / 0.9711 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.7563, allocations: 34.59 kB / 0.9711 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.7578, allocations: 0.8014 MB / 0.9719 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.7582, allocations: 0.7712 MB / 0.9726 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.7583, allocations: 23.64 kB / 0.9727 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7583, allocations: 1.438 kB / 0.9727 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of Templates: time 0.006987/0.7653, allocations: 3.57 MB / 0.9762 GB, free: 7.781 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1