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.0009273/0.0009271, allocations: 93.05 kB / 17.95 MB, free: 5.629 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.0009093/0.0009093, allocations: 180.6 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005271/0.0005271, allocations: 20 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.00783/0.164, allocations: 5.455 MB / 335.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.1689, allocations: 1.621 MB / 336.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008973/0.1699, allocations: 39.81 kB / 336.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.1705, allocations: 250.3 kB / 337 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.172, allocations: 310.3 kB / 337.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.1728, allocations: 303.7 kB / 337.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00254/0.1754, allocations: 2.13 MB / 339.7 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.1784, allocations: 2.224 MB / 341.9 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.1798, allocations: 0.7157 MB / 342.6 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.1812, allocations: 0.9214 MB / 343.6 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.1814, allocations: 124 kB / 343.7 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.1821, allocations: 295.6 kB / 344 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005055/0.1826, allocations: 0.4943 MB / 344.5 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.1838, allocations: 1.028 MB / 345.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.1869, allocations: 3.058 MB / 348.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1869, allocations: 0 / 348.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.187, allocations: 0 / 348.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.25e-05/0.187, allocations: 0 / 348.5 MB, free: 0.6836 MB / 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.004644/0.1917, allocations: 2.072 MB / 350.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.1918, allocations: 12.03 kB / 350.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.1925, allocations: 234.2 kB / 350.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.1947, allocations: 1.181 MB / 352 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.1949, allocations: 172.9 kB / 352.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.1953, allocations: 220.1 kB / 352.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005031/0.2003, allocations: 2.546 MB / 355 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.2004, allocations: 0 / 355 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.2006, allocations: 92 kB / 355.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.736e-05/0.2007, allocations: 56 kB / 355.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003795/0.2045, allocations: 2.153 MB / 357.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.2171, allocations: 7.646 MB / 364.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.2186, allocations: 1.267 MB / 366.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.2197, allocations: 0.6141 MB / 366.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.2198, allocations: 16.55 kB / 366.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.2198, allocations: 39.12 kB / 366.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 4.168e-06/0.2199, allocations: 0 / 366.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004677/0.2245, allocations: 2.47 MB / 369.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.2246, allocations: 59.91 kB / 369.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.2259, allocations: 0.7971 MB / 370.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.2259, allocations: 33.7 kB / 370.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/0.2267, allocations: 0.9177 MB / 371.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.2269, allocations: 220.8 kB / 371.3 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2271, allocations: 69.69 kB / 371.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.2273, allocations: 394.7 kB / 371.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.2279, allocations: 369.8 kB / 372.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.2287, allocations: 0.5868 MB / 372.7 MB, free: 7.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.2301, allocations: 0.9972 MB / 373.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2302, allocations: 4 kB / 373.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002129/0.2323, allocations: 1.166 MB / 374.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.2324, allocations: 11.94 kB / 374.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.2324, allocations: 8 kB / 374.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.2328, allocations: 104.8 kB / 375 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.2335, allocations: 183.8 kB / 375.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/0.2365, allocations: 2.135 MB / 377.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.2371, allocations: 43.97 kB / 377.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.2372, allocations: 35.98 kB / 377.4 MB, free: 2.797 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.001483/0.2387, allocations: 0.6497 MB / 378.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.2389, allocations: 79.06 kB / 378.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.2391, allocations: 99.56 kB / 378.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.2392, allocations: 15.92 kB / 378.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.2392, allocations: 4.062 kB / 378.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2392, allocations: 0 / 378.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3493/0.5885, allocations: 2.694 MB / 381 MB, free: 49.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.5886, allocations: 1.375 kB / 381 MB, free: 49.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.5892, allocations: 112.8 kB / 381.1 MB, free: 49.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.5895, allocations: 99.33 kB / 381.2 MB, free: 49.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.5896, allocations: 14.34 kB / 381.2 MB, free: 49.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/0.5924, allocations: 2.078 MB / 383.3 MB, free: 48.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.5925, allocations: 1.188 kB / 383.3 MB, free: 48.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.5955, allocations: 1.443 MB / 384.7 MB, free: 48.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.596, allocations: 223.6 kB / 384.9 MB, free: 48.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.5961, allocations: 14.7 kB / 384.9 MB, free: 48.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.5966, allocations: 44.67 kB / 385 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.5968, allocations: 56.44 kB / 385 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.5969, allocations: 20.69 kB / 385.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.598, allocations: 0.5547 MB / 385.6 MB, free: 47.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.598, allocations: 1.344 kB / 385.6 MB, free: 47.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001561/0.5996, allocations: 300.7 kB / 385.9 MB, free: 47.96 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.0003574/0.5999, allocations: 136.1 kB / 386 MB, free: 47.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.6023, allocations: 1.02 MB / 387.1 MB, free: 47.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6023, allocations: 1.094 kB / 387.1 MB, free: 47.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.6035, allocations: 0.5645 MB / 387.6 MB, free: 47.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.6049, allocations: 204 kB / 387.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.6133, allocations: 4.198 MB / 392 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/0.6155, allocations: 1.682 MB / 393.7 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.6158, allocations: 65.56 kB / 393.8 MB, free: 43.75 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6158, allocations: 0 / 393.8 MB, free: 43.75 MB / 318.1 MB Notification: Performance of Templates: time 0.03946/0.6553, allocations: 28.19 MB / 422 MB, free: 20.71 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