Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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) 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(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.0009617, allocations: 93.36 kB / 16.95 MB, free: 5.953 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.0009413/0.0009412, allocations: 178.3 kB / 17.84 MB, free: 5.621 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.57/1.57, allocations: 223.2 MB / 241.8 MB, free: 352 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 301.5 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 50.42 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003866/0.1413, allocations: 2.71 MB / 354.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1429, allocations: 0.7289 MB / 355.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1432, allocations: 4 kB / 355.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1434, allocations: 51.62 kB / 355.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1436, allocations: 87.23 kB / 355.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1439, allocations: 75.92 kB / 355.5 MB, free: 368 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.1444, allocations: 406.3 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.1446, allocations: 119 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.1449, allocations: 123.5 kB / 356.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1451, allocations: 147.3 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.1451, allocations: 16 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.1452, allocations: 20 kB / 356.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.1453, allocations: 67.67 kB / 356.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.1454, allocations: 89.52 kB / 356.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.1458, allocations: 399.1 kB / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1458, allocations: 0 / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1458, allocations: 0 / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1458, allocations: 0 / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001097/0.1469, allocations: 0.608 MB / 357.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.147, allocations: 12.03 kB / 357.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.821e-05/0.1471, allocations: 39.53 kB / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.1475, allocations: 290.4 kB / 357.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1475, allocations: 24.66 kB / 357.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.1476, allocations: 36 kB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.1483, allocations: 352.9 kB / 358.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1483, allocations: 4 kB / 358.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.1483, allocations: 12 kB / 358.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1483, allocations: 8 kB / 358.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.149, allocations: 274.5 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.1511, allocations: 1.288 MB / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.1517, allocations: 303.8 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.1519, allocations: 96.83 kB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.152, allocations: 0 / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.152, allocations: 42.55 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.152, allocations: 0 / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00216/0.1542, allocations: 0.6857 MB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.1543, allocations: 51.41 kB / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.1547, allocations: 298.9 kB / 361.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.1547, allocations: 25.7 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1549, allocations: 231.6 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.155, allocations: 47.36 kB / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.155, allocations: 4 kB / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1552, allocations: 338.8 kB / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1554, allocations: 79.95 kB / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.1557, allocations: 162.2 kB / 362.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.1559, allocations: 103.8 kB / 362.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1559, allocations: 4 kB / 362.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009256/0.1569, allocations: 422 kB / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.1569, allocations: 10.66 kB / 362.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1569, allocations: 4 kB / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.1574, allocations: 112.8 kB / 362.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1576, allocations: 43.92 kB / 362.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.1605, allocations: 1.987 MB / 364.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.1607, allocations: 39.67 kB / 364.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.1607, allocations: 16 kB / 364.9 MB, free: 6.543 MB / 302.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 (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.1609, allocations: 153.8 kB / 365 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.161, allocations: 27.62 kB / 365 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.1611, allocations: 25.91 kB / 365.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1611, allocations: 4 kB / 365.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1611, allocations: 0 / 365.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1611, allocations: 3.953 kB / 365.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.1624, allocations: 0.7412 MB / 365.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1624, allocations: 0 / 365.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.1625, allocations: 15.94 kB / 365.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003381/0.1628, allocations: 101.1 kB / 365.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1628, allocations: 8 kB / 365.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.1655, allocations: 1.991 MB / 367.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1655, allocations: 4.062 kB / 367.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.1663, allocations: 431.8 kB / 368.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.1664, allocations: 104.7 kB / 368.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1665, allocations: 8 kB / 368.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1667, allocations: 19.98 kB / 368.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.1668, allocations: 19.94 kB / 368.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1668, allocations: 0 / 368.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.167, allocations: 221.9 kB / 368.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1671, allocations: 0 / 368.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.1676, allocations: 87.78 kB / 368.8 MB, free: 2.355 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002373/0.1678, allocations: 106.5 kB / 368.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008144/0.1687, allocations: 342.4 kB / 369.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1687, allocations: 3.938 kB / 369.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.169, allocations: 235.2 kB / 369.5 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1695, allocations: 40.88 kB / 369.5 MB, free: 1.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1708, allocations: 0.6818 MB / 370.2 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.1713, allocations: 0.764 MB / 371 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.1714, allocations: 27.42 kB / 371 MB, free: 72 kB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1714, allocations: 0 / 371 MB, free: 72 kB / 302.1 MB Notification: Performance of Templates: time 0.28/0.4514, allocations: 4.673 MB / 375.7 MB, free: 23.65 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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 OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.AdderCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.AdderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.AdderCalcHelperMain.o] Error 1