Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 99.05 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.001517/0.001518, allocations: 176.6 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.52/1.52, allocations: 223.3 MB / 240.6 MB, free: 5.402 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.567/2.567, allocations: 390.4 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.000392, allocations: 15.94 kB / 0.8154 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8874/0.8879, allocations: 142.3 MB / 0.9544 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006043/0.8939, allocations: 5.992 MB / 0.9603 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003951/0.8979, allocations: 2.864 MB / 0.9631 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.8983, allocations: 23.72 kB / 0.9631 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.8987, allocations: 132.3 kB / 0.9632 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008639/0.8995, allocations: 412.8 kB / 0.9636 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.9004, allocations: 317.9 kB / 0.9639 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.902, allocations: 1.326 MB / 0.9652 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.9039, allocations: 0.9238 MB / 0.9661 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008704/0.9048, allocations: 394.2 kB / 0.9665 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009391/0.9058, allocations: 493.2 kB / 0.967 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.9059, allocations: 38.61 kB / 0.967 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006099/0.9065, allocations: 183 kB / 0.9672 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.9069, allocations: 266.9 kB / 0.9674 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.9071, allocations: 181.2 kB / 0.9676 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.9082, allocations: 0.9012 MB / 0.9685 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.9082, allocations: 0 / 0.9685 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9082, allocations: 1.031 kB / 0.9685 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.9082, allocations: 0 / 0.9685 GB, free: 13.67 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001916/0.9101, allocations: 1.019 MB / 0.9695 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.9102, allocations: 8.438 kB / 0.9695 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.9118, allocations: 237 kB / 0.9697 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.9128, allocations: 0.5307 MB / 0.9702 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.9129, allocations: 43.22 kB / 0.9703 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.913, allocations: 66.23 kB / 0.9703 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.915, allocations: 1.078 MB / 0.9714 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.9151, allocations: 3.375 kB / 0.9714 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.9152, allocations: 33.34 kB / 0.9714 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.9153, allocations: 89.05 kB / 0.9715 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.9167, allocations: 0.747 MB / 0.9722 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005882/0.9226, allocations: 5.901 MB / 0.978 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.9236, allocations: 0.5531 MB / 0.9785 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.9241, allocations: 324.4 kB / 0.9788 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.9241, allocations: 4.156 kB / 0.9789 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.9242, allocations: 42.5 kB / 0.9789 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.524e-06/0.9242, allocations: 0 / 0.9789 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.004187/0.9284, allocations: 1.988 MB / 0.9808 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.9284, allocations: 57.41 kB / 0.9809 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.9291, allocations: 0.5533 MB / 0.9814 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.9292, allocations: 36.42 kB / 0.9815 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.9295, allocations: 415.5 kB / 0.9819 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.9297, allocations: 172.5 kB / 0.982 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.9297, allocations: 10.22 kB / 0.982 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.9299, allocations: 378.1 kB / 0.9824 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.9304, allocations: 272.3 kB / 0.9827 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.931, allocations: 0.4885 MB / 0.9831 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.9316, allocations: 341.9 kB / 0.9835 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9316, allocations: 7.984 kB / 0.9835 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001922/0.9335, allocations: 1.071 MB / 0.9845 GB, free: 324 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.9336, allocations: 8 kB / 0.9845 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.9336, allocations: 8 kB / 0.9845 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008145/0.9344, allocations: 275.8 kB / 0.9848 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.9349, allocations: 127.8 kB / 0.9849 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006705/0.9416, allocations: 6.61 MB / 0.9914 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/0.9423, allocations: 31.97 kB / 0.9914 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.9424, allocations: 32 kB / 0.9914 GB, free: 8.688 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004362/0.9428, allocations: 253.6 kB / 0.9917 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.9429, allocations: 75.11 kB / 0.9917 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.9445, allocations: 0.8847 MB / 0.9926 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.9445, allocations: 4 kB / 0.9926 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.9446, allocations: 4 kB / 0.9926 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.9446, allocations: 3.984 kB / 0.9926 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.9472, allocations: 1.728 MB / 0.9943 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.9472, allocations: 8.031 kB / 0.9943 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.9474, allocations: 63.89 kB / 0.9944 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/0.9481, allocations: 263.3 kB / 0.9946 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.9482, allocations: 12 kB / 0.9946 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/0.9544, allocations: 6.58 MB / 1.001 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9545, allocations: 4.031 kB / 1.001 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.9561, allocations: 0.9796 MB / 1.002 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.9564, allocations: 192.2 kB / 1.002 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/0.9565, allocations: 15.95 kB / 1.002 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.9569, allocations: 27.97 kB / 1.002 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.957, allocations: 43.88 kB / 1.002 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.957, allocations: 16 kB / 1.002 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005676/0.9576, allocations: 383.1 kB / 1.003 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9576, allocations: 0 / 1.003 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009812/0.9586, allocations: 224 kB / 1.003 GB, free: 12.22 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.9588, allocations: 111.2 kB / 1.003 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.961, allocations: 1.268 MB / 1.004 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.961, allocations: 0 / 1.004 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.9624, allocations: 0.8932 MB / 1.005 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.9634, allocations: 204.1 kB / 1.005 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.9662, allocations: 1.651 MB / 1.007 GB, free: 7.945 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/0.967, allocations: 1.009 MB / 1.008 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.9672, allocations: 47.44 kB / 1.008 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of SimCode: time 2.6e-07/0.9672, allocations: 0 / 1.008 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of Templates: time 0.02719/0.9944, allocations: 20.57 MB / 1.028 GB, free: 2.34 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1