Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009801/0.00098, 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.001075/0.001076, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.511/1.511, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.512/2.512, allocations: 390.5 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004939, allocations: 8.219 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.944, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003089/0.9471, allocations: 2.668 MB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.9495, allocations: 1.759 MB / 0.9587 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.9497, allocations: 3.812 kB / 0.9587 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.9499, allocations: 36.7 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.9503, allocations: 154.5 kB / 0.9589 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.9508, allocations: 172.6 kB / 0.9591 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.9511, allocations: 363.2 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005662/0.9517, allocations: 319.5 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.9519, allocations: 107.8 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.9521, allocations: 136 kB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.9522, allocations: 11 kB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.9526, allocations: 263.6 kB / 0.9602 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.9527, allocations: 77.89 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.9528, allocations: 67.58 kB / 0.9604 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.9532, allocations: 354.9 kB / 0.9607 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9532, allocations: 0 / 0.9607 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9532, allocations: 0 / 0.9607 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9533, allocations: 0.9688 kB / 0.9607 GB, free: 3.383 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006665/0.9539, allocations: 0.5192 MB / 0.9612 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.954, allocations: 8.844 kB / 0.9612 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007392/0.9547, allocations: 115.1 kB / 0.9613 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.955, allocations: 256.4 kB / 0.9616 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.955, allocations: 11.94 kB / 0.9616 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.9551, allocations: 21.31 kB / 0.9616 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.9556, allocations: 344.4 kB / 0.9619 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.9557, allocations: 8.953 kB / 0.9619 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.9557, allocations: 17.91 kB / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.9557, allocations: 22.3 kB / 0.962 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.9562, allocations: 292.3 kB / 0.9623 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.958, allocations: 1.744 MB / 0.964 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.9584, allocations: 314 kB / 0.9643 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.9586, allocations: 104.5 kB / 0.9644 GB, free: 244 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.9587, allocations: 86.97 kB / 0.9644 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.9587, allocations: 43.62 kB / 0.9645 GB, free: 92 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.9587, allocations: 1.281 kB / 0.9645 GB, free: 92 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.002413/0.9611, allocations: 0.9712 MB / 0.9654 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.9612, allocations: 87.92 kB / 0.9655 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.9614, allocations: 217.9 kB / 0.9657 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.9615, allocations: 30.7 kB / 0.9658 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.9616, allocations: 164.3 kB / 0.9659 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.9617, allocations: 81.47 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.9617, allocations: 5.375 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.9619, allocations: 332.3 kB / 0.9663 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.9621, allocations: 130 kB / 0.9664 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.9624, allocations: 212.3 kB / 0.9666 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.9627, allocations: 174.5 kB / 0.9668 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9627, allocations: 1 kB / 0.9668 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000924/0.9636, allocations: 0.4986 MB / 0.9673 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.9636, allocations: 6.844 kB / 0.9673 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9636, allocations: 1.938 kB / 0.9673 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.9642, allocations: 154.8 kB / 0.9675 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.9644, allocations: 60.03 kB / 0.9675 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.9677, allocations: 3.961 MB / 0.9714 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.9679, allocations: 25.12 kB / 0.9714 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.968, allocations: 14.12 kB / 0.9714 GB, free: 9.949 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.9682, allocations: 166.6 kB / 0.9716 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.9682, allocations: 22.53 kB / 0.9716 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009446/0.9692, allocations: 476.4 kB / 0.9721 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9692, allocations: 3.219 kB / 0.9721 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.9692, allocations: 0.7812 kB / 0.9721 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9692, allocations: 4.859 kB / 0.9721 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.9709, allocations: 0.9973 MB / 0.973 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9709, allocations: 2.688 kB / 0.973 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.971, allocations: 36.98 kB / 0.9731 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.9715, allocations: 151.8 kB / 0.9732 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.9715, allocations: 13.02 kB / 0.9732 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.9746, allocations: 3.937 MB / 0.9771 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9746, allocations: 2.812 kB / 0.9771 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.9755, allocations: 0.6373 MB / 0.9777 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.9756, allocations: 127.3 kB / 0.9778 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.9757, allocations: 8.719 kB / 0.9778 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.9759, allocations: 25.25 kB / 0.9779 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.976, allocations: 22.88 kB / 0.9779 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.976, allocations: 12.22 kB / 0.9779 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001571/0.9762, allocations: 161.1 kB / 0.978 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9762, allocations: 3.938 kB / 0.978 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005791/0.9768, allocations: 90.95 kB / 0.9781 GB, free: 3.855 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/0.977, allocations: 128.6 kB / 0.9783 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009377/0.9779, allocations: 0.5677 MB / 0.9788 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9779, allocations: 1.125 kB / 0.9788 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.9785, allocations: 402.9 kB / 0.9792 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.979, allocations: 34.8 kB / 0.9792 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.9802, allocations: 0.7691 MB / 0.98 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.9807, allocations: 0.779 MB / 0.9807 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.9807, allocations: 25.95 kB / 0.9808 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.9808, allocations: 0 / 0.9808 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of Templates: time 0.01058/0.9913, allocations: 7.598 MB / 0.9882 GB, free: 11.99 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoadCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o] Error 1