Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008141/0.0008139, allocations: 102.5 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.000877/0.0008768, allocations: 172.5 kB / 16.58 MB, free: 5.965 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.482/1.482, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.000383, allocations: 15.98 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.9249, allocations: 153.7 MB / 1.022 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003515/0.9285, allocations: 2.497 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.9311, allocations: 1.532 MB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.9312, allocations: 4 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.9314, allocations: 31.72 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.9318, allocations: 135.4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.9323, allocations: 167.6 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.9327, allocations: 350.9 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.9334, allocations: 361.6 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.9336, allocations: 95.62 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.9339, allocations: 143.5 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.934, allocations: 15.94 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.9342, allocations: 135.8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.9344, allocations: 79.77 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.9344, allocations: 57.64 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.9348, allocations: 309.2 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9348, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9348, allocations: 7.938 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.9348, allocations: 0 / 1.027 GB, free: 11.18 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008624/0.9357, allocations: 0.5066 MB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.9357, allocations: 11.98 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006644/0.9364, allocations: 99.52 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.9368, allocations: 242.7 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.9368, allocations: 16.33 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.9369, allocations: 19.98 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.9375, allocations: 382 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.9375, allocations: 3.938 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.9376, allocations: 16 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.9376, allocations: 20.31 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006256/0.9382, allocations: 336.6 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.9401, allocations: 1.725 MB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.9409, allocations: 329 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.9412, allocations: 162.9 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.9413, allocations: 89.02 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.9414, allocations: 34.56 kB / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.9414, allocations: 0 / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.001394/0.9428, allocations: 0.6133 MB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.9429, allocations: 81.11 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.9431, allocations: 211.7 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.9431, allocations: 29.7 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.9433, allocations: 163.9 kB / 1.032 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.9433, allocations: 70.92 kB / 1.032 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.9434, allocations: 8 kB / 1.032 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.9435, allocations: 330.8 kB / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.9438, allocations: 132.5 kB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.9441, allocations: 220 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.9444, allocations: 164.2 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9444, allocations: 0 / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007799/0.9452, allocations: 440.1 kB / 1.034 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.9453, allocations: 166.7 kB / 1.034 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9453, allocations: 4 kB / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.9456, allocations: 40.83 kB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.9459, allocations: 79.88 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.9474, allocations: 1.505 MB / 1.035 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.9476, allocations: 31.88 kB / 1.035 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.9477, allocations: 12 kB / 1.035 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.9477, allocations: 4 kB / 1.035 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006936/0.9484, allocations: 366.7 kB / 1.036 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.9484, allocations: 7.938 kB / 1.036 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.9485, allocations: 49.09 kB / 1.036 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.9488, allocations: 71.89 kB / 1.036 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.9502, allocations: 1.481 MB / 1.037 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.9504, allocations: 27.88 kB / 1.037 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.9504, allocations: 12 kB / 1.037 GB, free: 208 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.9507, allocations: 240.9 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.9508, allocations: 19.81 kB / 1.038 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.9515, allocations: 368.2 kB / 1.038 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.9515, allocations: 4 kB / 1.038 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.9515, allocations: 4 kB / 1.038 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9515, allocations: 4 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.953, allocations: 0.9739 MB / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.9531, allocations: 4 kB / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.9533, allocations: 51.95 kB / 1.039 GB, free: 14.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.9534, allocations: 41.05 kB / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.9534, allocations: 8 kB / 1.039 GB, free: 14.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.9547, allocations: 1.394 MB / 1.04 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9547, allocations: 8 kB / 1.04 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.9554, allocations: 0.547 MB / 1.041 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.9556, allocations: 120.8 kB / 1.041 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.9556, allocations: 8 kB / 1.041 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.9558, allocations: 23.97 kB / 1.041 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.9559, allocations: 24.08 kB / 1.041 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.9559, allocations: 8 kB / 1.041 GB, free: 12.08 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001496/0.9561, allocations: 155 kB / 1.041 GB, free: 11.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9561, allocations: 0 / 1.041 GB, free: 11.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006105/0.9567, allocations: 104 kB / 1.041 GB, free: 11.83 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.9569, allocations: 115.2 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.9582, allocations: 0.7441 MB / 1.042 GB, free: 10.94 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9582, allocations: 4 kB / 1.042 GB, free: 10.93 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.9586, allocations: 275.8 kB / 1.043 GB, free: 10.65 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.9591, allocations: 33.53 kB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.9601, allocations: 0.6993 MB / 1.043 GB, free: 9.867 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.9606, allocations: 0.7678 MB / 1.044 GB, free: 9.074 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.9607, allocations: 31.42 kB / 1.044 GB, free: 9.043 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.9607, allocations: 0 / 1.044 GB, free: 9.043 MB / 0.795 GB Notification: Performance of Templates: time 0.006902/0.9676, allocations: 4.177 MB / 1.048 GB, free: 4.871 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGridCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.o] Error 1