Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.0009842/0.000984, allocations: 102 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.001753/0.001753, allocations: 174.7 kB / 16.58 MB, free: 6.863 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.57/1.57, allocations: 223.3 MB / 240.6 MB, free: 5.422 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.626/2.626, allocations: 390.4 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004615, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9745/0.975, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002873/0.9779, allocations: 2.249 MB / 0.9566 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.98, allocations: 1.361 MB / 0.958 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.9801, allocations: 5.969 kB / 0.958 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.9802, allocations: 28.41 kB / 0.958 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.9807, allocations: 136.6 kB / 0.9581 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.981, allocations: 120.7 kB / 0.9582 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.9814, allocations: 269.9 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/0.9819, allocations: 310.5 kB / 0.9588 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.9821, allocations: 74.77 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.9824, allocations: 112 kB / 0.959 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.9824, allocations: 6.625 kB / 0.959 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.9827, allocations: 128.7 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.9827, allocations: 61.75 kB / 0.9591 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.9828, allocations: 59.11 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.9831, allocations: 232.5 kB / 0.9594 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9831, allocations: 4 kB / 0.9594 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9831, allocations: 0 / 0.9594 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.9831, allocations: 0 / 0.9594 GB, free: 4.359 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000572/0.9837, allocations: 471.4 kB / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.9837, allocations: 9.625 kB / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.9843, allocations: 79.58 kB / 0.96 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.9845, allocations: 223.5 kB / 0.9602 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.9845, allocations: 11.2 kB / 0.9602 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.9846, allocations: 18.98 kB / 0.9602 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.9851, allocations: 323.1 kB / 0.9605 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.9851, allocations: 0 / 0.9605 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.9851, allocations: 10.73 kB / 0.9605 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.9852, allocations: 27.34 kB / 0.9606 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.9856, allocations: 247.7 kB / 0.9608 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.9869, allocations: 1.629 MB / 0.9624 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.9875, allocations: 415 kB / 0.9628 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.9876, allocations: 86.19 kB / 0.9629 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.9877, allocations: 95.36 kB / 0.9629 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.9878, allocations: 31.91 kB / 0.963 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.9878, allocations: 3.938 kB / 0.963 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006641/0.9884, allocations: 307.6 kB / 0.9633 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.9885, allocations: 79.27 kB / 0.9634 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.9886, allocations: 173.1 kB / 0.9635 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.9887, allocations: 30.42 kB / 0.9635 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.9887, allocations: 150 kB / 0.9637 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.9888, allocations: 45.98 kB / 0.9637 GB, free: 496 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.9888, allocations: 5.125 kB / 0.9637 GB, free: 492 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.9888, allocations: 329.8 kB / 0.9641 GB, free: 156 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.989, allocations: 83.22 kB / 0.9641 GB, free: 112 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.9892, allocations: 155 kB / 0.9643 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.9893, allocations: 93.62 kB / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9893, allocations: 0 / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004208/0.9898, allocations: 274.4 kB / 0.9646 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.9899, allocations: 167.3 kB / 0.9648 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9899, allocations: 2.281 kB / 0.9648 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9899, allocations: 8.281 kB / 0.9648 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.9902, allocations: 51.16 kB / 0.9648 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.9902, allocations: 7.141 kB / 0.9649 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.9903, allocations: 28.16 kB / 0.9649 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.9904, allocations: 9.125 kB / 0.9649 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.9904, allocations: 2.781 kB / 0.9649 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003398/0.9907, allocations: 210.1 kB / 0.9651 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9907, allocations: 3 kB / 0.9651 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.9907, allocations: 3.469 kB / 0.9651 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.9909, allocations: 58.09 kB / 0.9652 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.9909, allocations: 11.48 kB / 0.9652 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.991, allocations: 15 kB / 0.9652 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.9911, allocations: 8.188 kB / 0.9652 GB, free: 15.41 MB / 0.7325 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.000176/0.9912, allocations: 223.8 kB / 0.9654 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.9913, allocations: 14.58 kB / 0.9654 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.9917, allocations: 208 kB / 0.9656 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.9917, allocations: 0 / 0.9656 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9917, allocations: 3.75 kB / 0.9656 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9917, allocations: 3.938 kB / 0.9656 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.993, allocations: 0.9572 MB / 0.9666 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.993, allocations: 3.719 kB / 0.9666 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.9932, allocations: 40.78 kB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.9932, allocations: 8.594 kB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.9932, allocations: 4.75 kB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.9933, allocations: 7.812 kB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.9933, allocations: 7.641 kB / 0.9666 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.9938, allocations: 432.9 kB / 0.967 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.9939, allocations: 113.9 kB / 0.9671 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.9939, allocations: 8.906 kB / 0.9672 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.9941, allocations: 11.58 kB / 0.9672 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.9942, allocations: 27.5 kB / 0.9672 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.9942, allocations: 6.969 kB / 0.9672 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001325/0.9943, allocations: 135.2 kB / 0.9673 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9943, allocations: 1.156 kB / 0.9673 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005325/0.9949, allocations: 70.19 kB / 0.9674 GB, free: 13.54 MB / 0.7325 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.0001927/0.9951, allocations: 109.5 kB / 0.9675 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006477/0.9957, allocations: 297.1 kB / 0.9678 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9957, allocations: 0 / 0.9678 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.9959, allocations: 84.14 kB / 0.9679 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.9964, allocations: 38.05 kB / 0.9679 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/0.9974, allocations: 0.6135 MB / 0.9685 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.9979, allocations: 0.748 MB / 0.9692 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.998, allocations: 18.59 kB / 0.9692 GB, free: 12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.998, allocations: 0 / 0.9692 GB, free: 12 MB / 0.7325 GB Notification: Performance of Templates: time 0.005642/1.004, allocations: 2.334 MB / 0.9715 GB, free: 10.81 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1