Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 98.47 kB / 17.96 MB, free: 5.77 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.001511/0.001511, allocations: 178.3 kB / 18.86 MB, free: 4.906 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.964/1.964, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005633/0.0005636, allocations: 19.94 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004817/0.148, allocations: 3.664 MB / 333.3 MB, free: 56 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1499, allocations: 0.9084 MB / 334.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.1502, allocations: 11.94 kB / 334.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1505, allocations: 71.44 kB / 334.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.1508, allocations: 146.8 kB / 334.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1512, allocations: 123.9 kB / 334.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.1519, allocations: 0.6458 MB / 335.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.1522, allocations: 167.9 kB / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.1525, allocations: 227 kB / 335.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.1529, allocations: 262.7 kB / 335.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.1529, allocations: 32 kB / 335.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.153, allocations: 32 kB / 335.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1531, allocations: 95.53 kB / 336 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.1534, allocations: 312.1 kB / 336.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.154, allocations: 474.8 kB / 336.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.154, allocations: 0 / 336.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.154, allocations: 0 / 336.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.154, allocations: 0 / 336.7 MB, free: 12.56 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001426/0.1554, allocations: 0.7755 MB / 337.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1555, allocations: 16.03 kB / 337.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1556, allocations: 64.28 kB / 337.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.1562, allocations: 363.7 kB / 338 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.1562, allocations: 41.36 kB / 338 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.1563, allocations: 52.28 kB / 338 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008053/0.1571, allocations: 479.5 kB / 338.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1571, allocations: 7.984 kB / 338.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.1572, allocations: 24 kB / 338.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1572, allocations: 12 kB / 338.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.1579, allocations: 336.3 kB / 338.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.1606, allocations: 1.72 MB / 340.6 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.1611, allocations: 281 kB / 340.9 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.1613, allocations: 157.5 kB / 341 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1614, allocations: 0 / 341 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1614, allocations: 42.56 kB / 341.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.382e-06/0.1614, allocations: 4 kB / 341.1 MB, free: 7.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001988/0.1634, allocations: 0.9661 MB / 342 MB, free: 6.949 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.1635, allocations: 81.11 kB / 342.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.1639, allocations: 385.6 kB / 342.5 MB, free: 6.465 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.164, allocations: 33.7 kB / 342.5 MB, free: 6.426 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1642, allocations: 287.4 kB / 342.8 MB, free: 6.141 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.1643, allocations: 118.4 kB / 342.9 MB, free: 6.023 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.1644, allocations: 37.7 kB / 343 MB, free: 5.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1645, allocations: 358.7 kB / 343.3 MB, free: 5.621 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1647, allocations: 100.8 kB / 343.4 MB, free: 5.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.165, allocations: 194.6 kB / 343.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.1655, allocations: 314 kB / 343.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1655, allocations: 4 kB / 343.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000808/0.1663, allocations: 454.4 kB / 344.4 MB, free: 4.488 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1664, allocations: 7.938 kB / 344.4 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1664, allocations: 4.312 kB / 344.4 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.1667, allocations: 81.66 kB / 344.5 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.167, allocations: 87.89 kB / 344.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.1695, allocations: 2.849 MB / 347.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.1698, allocations: 15.91 kB / 347.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1698, allocations: 16 kB / 347.4 MB, free: 1.16 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.1701, allocations: 173.6 kB / 347.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.1702, allocations: 47.52 kB / 347.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.1703, allocations: 47.53 kB / 347.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1703, allocations: 7.938 kB / 347.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.1703, allocations: 0 / 347.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1703, allocations: 7.984 kB / 347.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.1717, allocations: 0.9328 MB / 348.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1717, allocations: 4 kB / 348.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.1719, allocations: 43.97 kB / 348.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.1722, allocations: 85.58 kB / 348.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1722, allocations: 8 kB / 348.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.1745, allocations: 2.861 MB / 351.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1745, allocations: 0 / 351.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009801/0.1755, allocations: 0.6247 MB / 352.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.1757, allocations: 120.6 kB / 352.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.1757, allocations: 16.02 kB / 352.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.1761, allocations: 31.98 kB / 352.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.1762, allocations: 27.95 kB / 352.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.1762, allocations: 11.98 kB / 352.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000346/0.1765, allocations: 271.2 kB / 352.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1765, allocations: 0 / 352.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006364/0.1772, allocations: 120 kB / 352.8 MB, free: 11.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001951/0.1774, allocations: 115.2 kB / 352.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1784, allocations: 0.5198 MB / 353.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1784, allocations: 0 / 353.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.179, allocations: 389.8 kB / 353.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.1796, allocations: 65.47 kB / 353.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.1815, allocations: 1.25 MB / 355.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.1821, allocations: 0.8353 MB / 356 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1822, allocations: 35.44 kB / 356 MB, free: 8.027 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1822, allocations: 0 / 356 MB, free: 8.027 MB / 302.1 MB Notification: Performance of Templates: time 0.01243/0.1946, allocations: 8.806 MB / 364.8 MB, free: 15.21 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformersCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformersCalcHelperMain.o] Error 1