Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009386/0.0009391, allocations: 95.62 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 201 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.715/1.715, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.00029, allocations: 11.94 kB / 307.3 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 51.49 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008803/0.1365, allocations: 6.892 MB / 365.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.1425, allocations: 1.847 MB / 367.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.1441, allocations: 27.88 kB / 367.6 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.1449, allocations: 174.7 kB / 367.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.1464, allocations: 361.1 kB / 368.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1476, allocations: 307.6 kB / 368.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.15, allocations: 1.622 MB / 370 MB, free: 2.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.151, allocations: 473.5 kB / 370.5 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/0.1519, allocations: 0.4902 MB / 371 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.1526, allocations: 0.5832 MB / 371.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.1528, allocations: 79.94 kB / 371.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.153, allocations: 72 kB / 371.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.1533, allocations: 234.9 kB / 371.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.1536, allocations: 285 kB / 372.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2663/0.4199, allocations: 1.585 MB / 373.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4199, allocations: 0 / 373.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4199, allocations: 0.5938 kB / 373.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.456e-05/0.42, allocations: 0 / 373.8 MB, free: 10.86 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.003733/0.4238, allocations: 1.6 MB / 375.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.4238, allocations: 9.281 kB / 375.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.4242, allocations: 158.6 kB / 375.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.4253, allocations: 0.7091 MB / 376.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.4254, allocations: 87.95 kB / 376.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.4257, allocations: 119.8 kB / 376.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/0.4289, allocations: 1.324 MB / 377.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.4289, allocations: 2.719 kB / 377.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.4291, allocations: 55.56 kB / 377.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.4291, allocations: 30.25 kB / 377.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.4318, allocations: 1.154 MB / 379 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008569/0.4404, allocations: 5.052 MB / 384.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.4429, allocations: 1.26 MB / 385.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.4441, allocations: 0.5498 MB / 385.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.4441, allocations: 13.08 kB / 385.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.4442, allocations: 43.5 kB / 386 MB, free: 7.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.885e-06/0.4442, allocations: 0 / 386 MB, free: 7.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008629/0.4528, allocations: 3.147 MB / 389.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.4529, allocations: 93.52 kB / 389.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.4546, allocations: 0.8007 MB / 390 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.4547, allocations: 40.48 kB / 390 MB, free: 6.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.4552, allocations: 0.5915 MB / 390.6 MB, free: 5.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.4555, allocations: 278.8 kB / 390.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.4555, allocations: 19.22 kB / 390.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4557, allocations: 345.7 kB / 391.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009381/0.4566, allocations: 385.5 kB / 391.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.4577, allocations: 0.6004 MB / 392.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.4587, allocations: 452.7 kB / 392.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.4587, allocations: 1.375 kB / 392.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00328/0.462, allocations: 1.412 MB / 394.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.462, allocations: 6.562 kB / 394.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4621, allocations: 11.67 kB / 394.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007882/0.4629, allocations: 228.2 kB / 394.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/0.4665, allocations: 0.942 MB / 395.3 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.4788, allocations: 10.21 MB / 405.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4805, allocations: 154.9 kB / 405.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/0.4806, allocations: 40 kB / 405.7 MB, free: 10.12 MB / 318.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.0009066/0.4815, allocations: 269.9 kB / 405.9 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.4817, allocations: 98.83 kB / 406 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.4819, allocations: 110.5 kB / 406.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4819, allocations: 8 kB / 406.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/0.4819, allocations: 0 / 406.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.482, allocations: 7.984 kB / 406.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.4873, allocations: 2.533 MB / 408.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4873, allocations: 0 / 408.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.4879, allocations: 129.7 kB / 408.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.4893, allocations: 446.1 kB / 409.2 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.4893, allocations: 19.95 kB / 409.3 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.5015, allocations: 10.12 MB / 419.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5015, allocations: 0 / 419.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/0.5062, allocations: 2.044 MB / 421.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.5067, allocations: 187.7 kB / 421.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.5069, allocations: 16 kB / 421.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007538/0.5076, allocations: 115.9 kB / 421.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.5078, allocations: 72.06 kB / 421.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.5079, allocations: 24 kB / 421.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008101/0.5087, allocations: 0.542 MB / 422.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5087, allocations: 0 / 422.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001525/0.5102, allocations: 363 kB / 422.7 MB, free: 8.207 MB / 334.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.0002478/0.5105, allocations: 123.6 kB / 422.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.516, allocations: 2.14 MB / 425 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.516, allocations: 0 / 425 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.5177, allocations: 1.17 MB / 426.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.5192, allocations: 206.8 kB / 426.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.5244, allocations: 2.812 MB / 429.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.5252, allocations: 1.074 MB / 430.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.5254, allocations: 63.44 kB / 430.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of SimCode: time 1.913e-06/0.5254, allocations: 0 / 430.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of Templates: time 0.05226/0.5777, allocations: 42.91 MB / 473.2 MB, free: 5.617 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuitCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuitCalcHelperMain.o] Error 1