Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 101.5 kB / 17.8 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.1 MB / 224.6 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 51.94 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1665, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.009783/0.1763, allocations: 5.942 MB / 333.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005729/0.1822, allocations: 1.64 MB / 334.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.1838, allocations: 35.88 kB / 334.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.1847, allocations: 246.3 kB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1866, allocations: 318.2 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009725/0.1876, allocations: 311.7 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003116/0.1907, allocations: 2.122 MB / 337.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.1944, allocations: 2.248 MB / 340.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.1966, allocations: 0.9031 MB / 341 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.1991, allocations: 1.152 MB / 342.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.1995, allocations: 208 kB / 342.3 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/0.2005, allocations: 379.6 kB / 342.7 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008279/0.2013, allocations: 0.627 MB / 343.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.2033, allocations: 1.143 MB / 344.5 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.2073, allocations: 3.138 MB / 347.6 MB, free: 392 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.2074, allocations: 0 / 347.6 MB, free: 392 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2074, allocations: 0 / 347.6 MB, free: 392 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.2076, allocations: 4 kB / 347.6 MB, free: 388 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007861/0.2154, allocations: 2.462 MB / 350.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.306e-05/0.2155, allocations: 8.031 kB / 350.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009234/0.2164, allocations: 242.1 kB / 350.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.219, allocations: 1.182 MB / 351.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.2191, allocations: 168.9 kB / 351.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/0.2195, allocations: 224 kB / 351.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005155/0.2246, allocations: 2.542 MB / 354.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/0.2247, allocations: 0 / 354.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.2249, allocations: 88 kB / 354.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.911e-05/0.225, allocations: 56 kB / 354.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/0.2291, allocations: 2.137 MB / 356.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.2441, allocations: 7.592 MB / 364.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.2464, allocations: 1.255 MB / 365.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.2478, allocations: 0.6219 MB / 366.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.556e-05/0.2479, allocations: 4.562 kB / 366.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.079e-05/0.248, allocations: 43.06 kB / 366.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 6.652e-06/0.248, allocations: 0 / 366.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005805/0.2538, allocations: 2.439 MB / 368.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.254, allocations: 59.97 kB / 368.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.2555, allocations: 0.7894 MB / 369.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.2556, allocations: 41.7 kB / 369.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008149/0.2564, allocations: 0.906 MB / 370.5 MB, free: 8.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.2566, allocations: 228.8 kB / 370.7 MB, free: 8.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.2569, allocations: 146.5 kB / 370.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000358/0.2573, allocations: 398.7 kB / 371.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.258, allocations: 365.8 kB / 371.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.2589, allocations: 0.5789 MB / 372.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.2605, allocations: 0.9893 MB / 373.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2605, allocations: 4 kB / 373.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00248/0.263, allocations: 1.147 MB / 374.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.2631, allocations: 12 kB / 374.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.2631, allocations: 12 kB / 374.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.2636, allocations: 108.7 kB / 374.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.2643, allocations: 171.8 kB / 374.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.2677, allocations: 2.138 MB / 376.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/0.2686, allocations: 47.97 kB / 376.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.2687, allocations: 31.98 kB / 376.8 MB, free: 2.188 MB / 318.1 MB 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00155/0.2702, allocations: 0.6496 MB / 377.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.2705, allocations: 82.97 kB / 377.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.2708, allocations: 99.56 kB / 377.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-05/0.2708, allocations: 19.92 kB / 377.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.2709, allocations: 4 kB / 377.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.2709, allocations: 0 / 377.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3723/0.6431, allocations: 2.657 MB / 380.3 MB, free: 50.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.6432, allocations: 1.656 kB / 380.3 MB, free: 50.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.6439, allocations: 108.4 kB / 380.4 MB, free: 50.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/0.6445, allocations: 100.4 kB / 380.5 MB, free: 50.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.6445, allocations: 19.67 kB / 380.5 MB, free: 50.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.6481, allocations: 2.065 MB / 382.6 MB, free: 49.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.6481, allocations: 2.219 kB / 382.6 MB, free: 49.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.6517, allocations: 1.429 MB / 384 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.6523, allocations: 223.7 kB / 384.3 MB, free: 48.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6524, allocations: 21.77 kB / 384.3 MB, free: 48.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.6529, allocations: 40.92 kB / 384.3 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.6532, allocations: 55.23 kB / 384.4 MB, free: 48.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.6533, allocations: 19.91 kB / 384.4 MB, free: 48.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.6547, allocations: 0.5587 MB / 385 MB, free: 48.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6548, allocations: 0 / 385 MB, free: 48.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002126/0.6569, allocations: 296.8 kB / 385.2 MB, free: 48.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004945/0.6574, allocations: 131 kB / 385.4 MB, free: 48.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003319/0.6607, allocations: 1.008 MB / 386.4 MB, free: 47.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6608, allocations: 4.562 kB / 386.4 MB, free: 47.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.6625, allocations: 0.5617 MB / 386.9 MB, free: 47.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.6648, allocations: 202.8 kB / 387.1 MB, free: 47.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.6759, allocations: 4.123 MB / 391.3 MB, free: 45.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003097/0.6791, allocations: 1.686 MB / 393 MB, free: 44.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.6795, allocations: 65.39 kB / 393 MB, free: 44.31 MB / 318.1 MB Notification: Performance of SimCode: time 1.783e-06/0.6795, allocations: 3.938 kB / 393 MB, free: 44.31 MB / 318.1 MB Notification: Performance of Templates: time 0.05232/0.7319, allocations: 28.44 MB / 421.5 MB, free: 20.83 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensorsCalcHelperMain.o] Error 1