Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 94.47 kB / 17.96 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.001078/0.001078, allocations: 180 kB / 18.87 MB, free: 4.77 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.786/1.786, allocations: 205.4 MB / 225 MB, free: 12.99 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.0005992/0.0005989, allocations: 12 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1324, allocations: 47.59 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003334/0.1357, allocations: 2.589 MB / 332.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1371, allocations: 0.7761 MB / 333 MB, free: 356 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.1372, allocations: 11.94 kB / 333 MB, free: 344 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1374, allocations: 35.69 kB / 333 MB, free: 308 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1376, allocations: 91.3 kB / 333.1 MB, free: 216 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1379, allocations: 107.9 kB / 333.2 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.1384, allocations: 390.1 kB / 333.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1386, allocations: 111.6 kB / 333.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1388, allocations: 127.4 kB / 333.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.139, allocations: 147.3 kB / 334 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.1391, allocations: 20 kB / 334 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.1391, allocations: 20 kB / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.1392, allocations: 55.7 kB / 334.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.1394, allocations: 184.8 kB / 334.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.1398, allocations: 275.4 kB / 334.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1398, allocations: 0 / 334.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.1398, allocations: 0 / 334.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1399, allocations: 0 / 334.5 MB, free: 14.79 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001142/0.141, allocations: 0.5888 MB / 335.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1411, allocations: 8.031 kB / 335.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.1412, allocations: 40.47 kB / 335.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.1416, allocations: 287.5 kB / 335.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.1416, allocations: 25.03 kB / 335.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1417, allocations: 28.38 kB / 335.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.1424, allocations: 310.4 kB / 335.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1424, allocations: 0 / 335.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1425, allocations: 12 kB / 335.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1425, allocations: 12 kB / 335.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/0.1432, allocations: 314.4 kB / 336.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1452, allocations: 1.111 MB / 337.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/0.1461, allocations: 314.8 kB / 337.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.1466, allocations: 176.7 kB / 337.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1466, allocations: 0 / 337.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.1467, allocations: 42.52 kB / 337.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.1467, allocations: 0 / 337.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.00272/0.1494, allocations: 0.9145 MB / 338.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1495, allocations: 59.36 kB / 338.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.1498, allocations: 270.6 kB / 339 MB, free: 10.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1499, allocations: 29.7 kB / 339 MB, free: 10.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1501, allocations: 203.9 kB / 339.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.1501, allocations: 74.94 kB / 339.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.1502, allocations: 29.7 kB / 339.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000273/0.1505, allocations: 338.8 kB / 339.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.1507, allocations: 95.95 kB / 339.8 MB, free: 9.273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.1511, allocations: 183.1 kB / 339.9 MB, free: 9.055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.1518, allocations: 298.9 kB / 340.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1518, allocations: 0 / 340.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001551/0.1534, allocations: 0.5493 MB / 340.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.1536, allocations: 183.2 kB / 341 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1536, allocations: 0 / 341 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.1543, allocations: 129.6 kB / 341.1 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.1545, allocations: 55.92 kB / 341.1 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/0.1599, allocations: 3.458 MB / 344.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.1601, allocations: 43.61 kB / 344.6 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.1602, allocations: 12 kB / 344.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.1602, allocations: 4 kB / 344.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004521/0.1607, allocations: 265.2 kB / 344.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1607, allocations: 4 kB / 344.9 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.1608, allocations: 46.06 kB / 345 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.161, allocations: 67.84 kB / 345 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.1636, allocations: 2.692 MB / 347.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.1638, allocations: 31.84 kB / 347.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1639, allocations: 15.98 kB / 347.8 MB, free: 0.5703 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (29): * Single equations (assignments): 27 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.1642, allocations: 225 kB / 348 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.1643, allocations: 23.72 kB / 348 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.1644, allocations: 30.11 kB / 348 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/0.1645, allocations: 4 kB / 348.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1645, allocations: 3.938 kB / 348.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1645, allocations: 0 / 348.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.1661, allocations: 0.8198 MB / 348.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1661, allocations: 0 / 348.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.1663, allocations: 31.92 kB / 348.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.1667, allocations: 145.6 kB / 349 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1667, allocations: 4 kB / 349.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.1714, allocations: 3.419 MB / 352.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1714, allocations: 4.062 kB / 352.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1729, allocations: 0.6098 MB / 353.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.173, allocations: 108.7 kB / 353.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1731, allocations: 4 kB / 353.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.1733, allocations: 32.03 kB / 353.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.1735, allocations: 23.97 kB / 353.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1735, allocations: 11.94 kB / 353.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.1738, allocations: 186 kB / 353.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1738, allocations: 0 / 353.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000927/0.1747, allocations: 151.7 kB / 353.6 MB, free: 10.37 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/0.175, allocations: 107.2 kB / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.1767, allocations: 0.8976 MB / 354.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1767, allocations: 4 kB / 354.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008178/0.1775, allocations: 430.6 kB / 355 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.178, allocations: 47.62 kB / 355.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1794, allocations: 0.7839 MB / 355.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.1799, allocations: 0.7723 MB / 356.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.18, allocations: 23.44 kB / 356.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.18, allocations: 0 / 356.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of Templates: time 0.00943/0.1894, allocations: 5.67 MB / 362.3 MB, free: 1.492 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.OpAmps.SignalGeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.o] Error 1