Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 100.8 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.001203/0.001203, allocations: 176.5 kB / 16.58 MB, free: 6.141 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.543/1.543, allocations: 223.3 MB / 240.6 MB, free: 5.32 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.514/2.514, allocations: 390.5 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004512, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.8815, allocations: 142.3 MB / 0.9544 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0218/0.9034, allocations: 18.41 MB / 0.9724 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.9184, allocations: 6.125 MB / 0.9784 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.9212, allocations: 75.28 kB / 0.9785 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.9226, allocations: 394.7 kB / 0.9788 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.9264, allocations: 0.9609 MB / 0.9798 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.9295, allocations: 0.7772 MB / 0.9805 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0096/0.9392, allocations: 5.481 MB / 0.9859 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01523/0.9545, allocations: 6.383 MB / 0.9921 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.9595, allocations: 1.514 MB / 0.9936 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004442/0.9639, allocations: 1.966 MB / 0.9955 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.9651, allocations: 176 kB / 0.9957 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.9679, allocations: 495.4 kB / 0.9961 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.9706, allocations: 1.337 MB / 0.9975 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.9721, allocations: 0.6447 MB / 0.9981 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005952/0.978, allocations: 5.376 MB / 1.003 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.9781, allocations: 0 / 1.003 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9781, allocations: 0 / 1.003 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001585/0.9782, allocations: 0 / 1.003 GB, free: 13.87 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006388/0.9846, allocations: 2.855 MB / 1.006 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.9847, allocations: 12.03 kB / 1.006 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.9883, allocations: 0.6401 MB / 1.007 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.9919, allocations: 1.896 MB / 1.009 GB, free: 8.34 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.9921, allocations: 222 kB / 1.009 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004622/0.9926, allocations: 299.8 kB / 1.009 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009545/1.002, allocations: 4.863 MB / 1.014 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/1.002, allocations: 19.86 kB / 1.014 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/1.003, allocations: 124 kB / 1.014 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005206/1.003, allocations: 229.7 kB / 1.014 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007895/1.011, allocations: 3.731 MB / 1.018 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/1.035, allocations: 21.6 MB / 1.039 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/1.037, allocations: 1.304 MB / 1.04 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/1.039, allocations: 1.034 MB / 1.041 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.131e-05/1.039, allocations: 16.94 kB / 1.041 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/1.039, allocations: 51.56 kB / 1.041 GB, free: 4.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.737e-06/1.039, allocations: 0 / 1.041 GB, free: 4.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=138): time 0.02256/1.061, allocations: 8.662 MB / 1.05 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/1.061, allocations: 64.72 kB / 1.05 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/1.063, allocations: 1.119 MB / 1.051 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.063, allocations: 49.7 kB / 1.051 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008906/1.064, allocations: 1.3 MB / 1.052 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/1.064, allocations: 481.2 kB / 1.053 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/1.065, allocations: 36 kB / 1.053 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.065, allocations: 369.9 kB / 1.053 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.066, allocations: 0.9057 MB / 1.054 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/1.068, allocations: 1.322 MB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/1.069, allocations: 1.135 MB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/1.069, allocations: 11.95 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005878/1.075, allocations: 3.437 MB / 1.06 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/1.075, allocations: 8 kB / 1.06 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.075, allocations: 12.91 kB / 1.06 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/1.078, allocations: 1.192 MB / 1.061 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/1.079, allocations: 255.5 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/1.095, allocations: 12.71 MB / 1.074 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.097, allocations: 91.91 kB / 1.074 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.097, allocations: 64.36 kB / 1.074 GB, free: 2.746 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002151/1.099, allocations: 1.115 MB / 1.075 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/1.1, allocations: 162.1 kB / 1.075 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005632/1.105, allocations: 3.157 MB / 1.078 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.105, allocations: 20 kB / 1.078 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/1.105, allocations: 12 kB / 1.078 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.105, allocations: 7.969 kB / 1.078 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/1.116, allocations: 6.241 MB / 1.084 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.116, allocations: 4 kB / 1.084 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/1.116, allocations: 147.8 kB / 1.084 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002728/1.119, allocations: 1.077 MB / 1.085 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.119, allocations: 24 kB / 1.085 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/1.135, allocations: 12.43 MB / 1.098 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/1.135, allocations: 7.938 kB / 1.098 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/1.141, allocations: 3.135 MB / 1.101 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000977/1.142, allocations: 435 kB / 1.101 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/1.142, allocations: 28 kB / 1.101 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/1.143, allocations: 83.89 kB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/1.143, allocations: 128.7 kB / 1.101 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.968e-05/1.143, allocations: 40 kB / 1.101 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001161/1.145, allocations: 0.7554 MB / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.145, allocations: 0 / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002475/1.147, allocations: 0.6601 MB / 1.103 GB, free: 4.418 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002628/1.147, allocations: 143 kB / 1.103 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00526/1.153, allocations: 3.112 MB / 1.106 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.153, allocations: 12 kB / 1.106 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003053/1.156, allocations: 1.955 MB / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.158, allocations: 473.7 kB / 1.108 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.169, allocations: 6.883 MB / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/1.172, allocations: 2.387 MB / 1.117 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/1.172, allocations: 95.44 kB / 1.117 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of SimCode: time 1.292e-06/1.172, allocations: 0 / 1.117 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of Templates: time 0.09577/1.268, allocations: 79.21 MB / 1.195 GB, free: 6.016 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.o] Error 1