Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 97.92 kB / 16.96 MB, free: 5.293 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.0008824/0.0008826, allocations: 183.7 kB / 17.85 MB, free: 4.93 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.568/1.568, allocations: 223.2 MB / 241.9 MB, free: 172 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002926, allocations: 8 kB / 301.5 MB, free: 6.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 50.42 MB / 351.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007974/0.1483, allocations: 6.866 MB / 358.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.1528, allocations: 1.82 MB / 360.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.1541, allocations: 23.94 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.1546, allocations: 182.6 kB / 360.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1558, allocations: 353.1 kB / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009479/0.1568, allocations: 311.6 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.1589, allocations: 1.615 MB / 363 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.1597, allocations: 473.6 kB / 363.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.1607, allocations: 0.498 MB / 364 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007784/0.1615, allocations: 0.5792 MB / 364.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1616, allocations: 76 kB / 364.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1618, allocations: 72 kB / 364.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.162, allocations: 238.9 kB / 365 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.1623, allocations: 289 kB / 365.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.1637, allocations: 1.585 MB / 366.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1638, allocations: 0 / 366.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1638, allocations: 0 / 366.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.1638, allocations: 0 / 366.8 MB, free: 4.949 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003092/0.1669, allocations: 1.598 MB / 368.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.167, allocations: 8.031 kB / 368.4 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.1673, allocations: 154.2 kB / 368.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1683, allocations: 0.7093 MB / 369.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.1684, allocations: 94.45 kB / 369.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.1686, allocations: 120 kB / 369.5 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.1712, allocations: 1.335 MB / 370.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.1712, allocations: 0 / 370.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.1713, allocations: 52 kB / 370.9 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.1713, allocations: 31.94 kB / 370.9 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2317/0.4031, allocations: 1.145 MB / 372.1 MB, free: 23.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008862/0.412, allocations: 5.053 MB / 377.1 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.4143, allocations: 1.25 MB / 378.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4154, allocations: 0.5573 MB / 378.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.4155, allocations: 14.06 kB / 378.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.4156, allocations: 45.8 kB / 379 MB, free: 20.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 3.086e-06/0.4156, allocations: 0 / 379 MB, free: 20.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01087/0.4265, allocations: 3.149 MB / 382.1 MB, free: 19.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.4266, allocations: 86.47 kB / 382.2 MB, free: 19.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.4287, allocations: 0.807 MB / 383 MB, free: 18.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.4289, allocations: 38.14 kB / 383.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/0.4296, allocations: 0.5897 MB / 383.6 MB, free: 18.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.4299, allocations: 281 kB / 383.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.43, allocations: 20.38 kB / 383.9 MB, free: 18.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4302, allocations: 342.2 kB / 384.3 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.4317, allocations: 385.4 kB / 384.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4333, allocations: 0.5994 MB / 385.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.4349, allocations: 446 kB / 385.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.4349, allocations: 2.375 kB / 385.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005291/0.4402, allocations: 1.409 MB / 387.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.4403, allocations: 8.906 kB / 387.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.4403, allocations: 5.562 kB / 387.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.4415, allocations: 239.1 kB / 387.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005336/0.4469, allocations: 0.9323 MB / 388.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.4594, allocations: 10.22 MB / 398.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4608, allocations: 159.7 kB / 398.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.4609, allocations: 38 kB / 398.7 MB, free: 7.027 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007429/0.4617, allocations: 272.5 kB / 399 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.4619, allocations: 101 kB / 399.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.4622, allocations: 109 kB / 399.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4622, allocations: 7.344 kB / 399.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-05/0.4622, allocations: 5.469 kB / 399.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.4622, allocations: 5.453 kB / 399.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.4674, allocations: 2.534 MB / 401.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4674, allocations: 0 / 401.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.468, allocations: 126.3 kB / 401.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.4692, allocations: 446.7 kB / 402.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.4693, allocations: 12 kB / 402.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.481, allocations: 10.11 MB / 412.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.4811, allocations: 11.95 kB / 412.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/0.486, allocations: 2.035 MB / 414.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.4865, allocations: 191.7 kB / 414.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4867, allocations: 19.95 kB / 414.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.4874, allocations: 119.9 kB / 414.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.4876, allocations: 68.39 kB / 414.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.4877, allocations: 20.31 kB / 414.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008796/0.4886, allocations: 0.5498 MB / 415.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4886, allocations: 0 / 415.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001539/0.4901, allocations: 355 kB / 415.8 MB, free: 6.309 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/0.4904, allocations: 123.2 kB / 415.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00566/0.4961, allocations: 2.135 MB / 418 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.4961, allocations: 4 kB / 418 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.498, allocations: 1.17 MB / 419.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.4995, allocations: 202.1 kB / 419.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.5048, allocations: 2.815 MB / 422.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/0.5056, allocations: 1.074 MB / 423.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.5059, allocations: 59.44 kB / 423.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5059, allocations: 4 kB / 423.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Templates: time 0.05282/0.5587, allocations: 42.92 MB / 466.3 MB, free: 3.617 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.ControlCircuitCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuitCalcHelperMain.o] Error 1