Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 93.61 kB / 16.95 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.001368/0.001369, allocations: 189.3 kB / 17.85 MB, free: 5.297 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.308/1.308, allocations: 223.2 MB / 241.9 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 8 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08496, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001043/0.08604, allocations: 0.9118 MB / 352.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.08826, allocations: 1.819 MB / 354.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.08829, allocations: 0 / 354.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.989e-06/0.08831, allocations: 4 kB / 354.6 MB, free: 1.262 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Examples.mo:279:3-372:24:writable] Warning: Pure function ‘Modelica.Utilities.Examples.readRealParameter‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0007418/0.08906, allocations: 330.4 kB / 354.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.844e-05/0.08909, allocations: 4 kB / 354.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.363e-05/0.08913, allocations: 11.92 kB / 354.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.08917, allocations: 0 / 354.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.08919, allocations: 4 kB / 354.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.08928, allocations: 11.92 kB / 354.9 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.08929, allocations: 0 / 354.9 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.0898, allocations: 387.6 kB / 355.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.08982, allocations: 11.92 kB / 355.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.08985, allocations: 29.7 kB / 355.4 MB, free: 496 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.09013, allocations: 227.6 kB / 355.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09014, allocations: 0 / 355.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09015, allocations: 0 / 355.6 MB, free: 268 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09015, allocations: 0 / 355.6 MB, free: 268 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003647/0.09052, allocations: 403.2 kB / 356 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.09056, allocations: 12.03 kB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.09061, allocations: 79.23 kB / 356.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.09076, allocations: 242.6 kB / 356.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.09082, allocations: 158.6 kB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.09087, allocations: 150.6 kB / 356.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.036e-05/0.09093, allocations: 101 kB / 356.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.09097, allocations: 79.28 kB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.09102, allocations: 150.6 kB / 356.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/0.09108, allocations: 158.6 kB / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.09113, allocations: 158.5 kB / 357.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.09138, allocations: 445.9 kB / 357.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.09146, allocations: 169.1 kB / 357.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.09151, allocations: 84.14 kB / 357.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.09154, allocations: 75.28 kB / 358 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.09165, allocations: 55.39 kB / 358 MB, free: 13.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.09166, allocations: 0 / 358 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 9.921e-05/0.09176, allocations: 33.7 kB / 358.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.09181, allocations: 51.41 kB / 358.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.09188, allocations: 109.9 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.0919, allocations: 25.7 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.09194, allocations: 84.14 kB / 358.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.09196, allocations: 0 / 358.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.09196, allocations: 0 / 358.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.09206, allocations: 310.8 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-06/0.09208, allocations: 4 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.09209, allocations: 3.938 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.196e-05/0.0921, allocations: 8 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.09211, allocations: 0 / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.804e-05/0.09216, allocations: 45.59 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.09218, allocations: 4 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.09219, allocations: 0 / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.0922, allocations: 0 / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.64e-05/0.09222, allocations: 0 / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.09223, allocations: 3.938 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.09225, allocations: 3.953 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.09226, allocations: 4 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.09233, allocations: 109.9 kB / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.09234, allocations: 0 / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.09237, allocations: 11.11 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.09238, allocations: 192 / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.09238, allocations: 0 / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.09239, allocations: 3.984 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.0925, allocations: 157.6 kB / 359 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.09251, allocations: 0 / 359 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.09252, allocations: 3.938 kB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.09253, allocations: 4 kB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.09253, allocations: 0 / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.09254, allocations: 0 / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.09254, allocations: 0 / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.659e-05/0.09261, allocations: 61.09 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.09265, allocations: 81.09 kB / 359.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.09266, allocations: 0 / 359.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.09267, allocations: 0 / 359.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.09269, allocations: 8.031 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.0927, allocations: 0 / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.366e-05/0.09274, allocations: 87.27 kB / 359.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09275, allocations: 0 / 359.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.09307, allocations: 127.9 kB / 359.4 MB, free: 12.14 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007897/0.09387, allocations: 484.8 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.858e-05/0.09393, allocations: 7.938 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.09394, allocations: 0 / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.09395, allocations: 4 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.09408, allocations: 7.953 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.0943, allocations: 138.6 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.09454, allocations: 0.677 MB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.09456, allocations: 11.44 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.09457, allocations: 0 / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of Templates: time 0.004423/0.099, allocations: 3.086 MB / 363.8 MB, free: 7.742 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o] Error 1