Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009394, allocations: 100.5 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.001389/0.001389, allocations: 174.9 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.567/1.567, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.91/2.91, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 11.98 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9273, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01214/0.9395, allocations: 10.82 MB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008467/0.948, allocations: 5.204 MB / 1.037 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.9492, allocations: 27.94 kB / 1.037 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009685/0.9502, allocations: 294 kB / 1.038 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.9516, allocations: 0.5325 MB / 1.038 GB, free: 196 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.9531, allocations: 498.8 kB / 1.039 GB, free: 15.7 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003031/0.9562, allocations: 2.922 MB / 1.042 GB, free: 12.77 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005232/0.9614, allocations: 3.861 MB / 1.045 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.9628, allocations: 0.7746 MB / 1.046 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.9643, allocations: 1.102 MB / 1.047 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.9645, allocations: 100 kB / 1.047 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009331/0.9655, allocations: 319.7 kB / 1.048 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007659/0.9662, allocations: 0.7404 MB / 1.048 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.9666, allocations: 368.8 kB / 1.049 GB, free: 5.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.9698, allocations: 3.271 MB / 1.052 GB, free: 2.176 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.9698, allocations: 3.984 kB / 1.052 GB, free: 2.172 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.542e-06/0.9699, allocations: 0 / 1.052 GB, free: 2.172 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.985e-05/0.9699, allocations: 3.938 kB / 1.052 GB, free: 2.168 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003863/0.9738, allocations: 1.769 MB / 1.054 GB, free: 352 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.9739, allocations: 15.98 kB / 1.054 GB, free: 336 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/0.9772, allocations: 0.7509 MB / 1.054 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.9799, allocations: 1.231 MB / 1.056 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.9801, allocations: 119.2 kB / 1.056 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.9805, allocations: 160 kB / 1.056 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006922/0.9874, allocations: 2.948 MB / 1.059 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/0.9875, allocations: 7.844 kB / 1.059 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.9878, allocations: 68 kB / 1.059 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004705/0.9882, allocations: 203 kB / 1.059 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/0.9934, allocations: 2.511 MB / 1.061 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/1.01, allocations: 10.9 MB / 1.072 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/1.011, allocations: 0.9196 MB / 1.073 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/1.012, allocations: 0.509 MB / 1.073 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/1.012, allocations: 97.44 kB / 1.073 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.012, allocations: 38.94 kB / 1.074 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=46): time 2.815e-06/1.012, allocations: 0 / 1.074 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70): time 0.02613/1.038, allocations: 8.971 MB / 1.082 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/1.038, allocations: 93.62 kB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/1.04, allocations: 0.9376 MB / 1.083 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/1.04, allocations: 37.7 kB / 1.083 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/1.041, allocations: 0.7774 MB / 1.084 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/1.041, allocations: 244.6 kB / 1.084 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/1.041, allocations: 24 kB / 1.084 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002129/1.041, allocations: 394.7 kB / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.043, allocations: 0.7989 MB / 1.086 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/1.044, allocations: 1.16 MB / 1.087 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/1.046, allocations: 0.9907 MB / 1.088 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.046, allocations: 4 kB / 1.088 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009848/1.056, allocations: 3.787 MB / 1.091 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003661/1.056, allocations: 413.1 kB / 1.092 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.056, allocations: 12 kB / 1.092 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00799/1.064, allocations: 2.157 MB / 1.094 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.065, allocations: 231.6 kB / 1.094 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/1.082, allocations: 10.26 MB / 1.104 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/1.084, allocations: 203.6 kB / 1.104 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/1.084, allocations: 44 kB / 1.104 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.084, allocations: 4 kB / 1.104 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007428/1.091, allocations: 3.084 MB / 1.107 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/1.091, allocations: 12 kB / 1.107 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005076/1.096, allocations: 1.356 MB / 1.109 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.098, allocations: 295.5 kB / 1.109 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.109, allocations: 6.148 MB / 1.115 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.11, allocations: 171.7 kB / 1.115 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.11, allocations: 44 kB / 1.115 GB, free: 15.31 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001752/1.112, allocations: 0.9066 MB / 1.116 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/1.112, allocations: 94.91 kB / 1.116 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008791/1.121, allocations: 3.316 MB / 1.119 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.121, allocations: 8 kB / 1.119 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.121, allocations: 0 / 1.119 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/1.121, allocations: 7.984 kB / 1.119 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.133, allocations: 5.497 MB / 1.125 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.133, allocations: 4 kB / 1.125 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/1.134, allocations: 107.8 kB / 1.125 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007124/1.141, allocations: 1.974 MB / 1.127 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.141, allocations: 16 kB / 1.127 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/1.156, allocations: 9.664 MB / 1.136 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.156, allocations: 3.938 kB / 1.136 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00818/1.164, allocations: 3.198 MB / 1.139 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008174/1.165, allocations: 339.9 kB / 1.14 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.165, allocations: 15.98 kB / 1.14 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/1.166, allocations: 155.9 kB / 1.14 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/1.166, allocations: 68.36 kB / 1.14 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/1.166, allocations: 19.98 kB / 1.14 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001074/1.168, allocations: 0.6707 MB / 1.141 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.168, allocations: 4 kB / 1.141 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002599/1.17, allocations: 0.6992 MB / 1.141 GB, free: 4.066 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/1.17, allocations: 127.2 kB / 1.141 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007934/1.178, allocations: 3.924 MB / 1.145 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.178, allocations: 0 / 1.145 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/1.181, allocations: 1.31 MB / 1.147 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.183, allocations: 257.9 kB / 1.147 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008137/1.191, allocations: 4.301 MB / 1.151 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/1.193, allocations: 1.734 MB / 1.153 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/1.193, allocations: 67.44 kB / 1.153 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of SimCode: time 1.362e-06/1.193, allocations: 3.938 kB / 1.153 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of Templates: time 0.06149/1.255, allocations: 43 MB / 1.195 GB, free: 13.24 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.o] Error 1