Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) 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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 192.3 kB / 16.79 MB, free: 6.812 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 132.2 MB / 422.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 60.03 kB / 0.5017 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1865, allocations: 80.2 MB / 0.58 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005071/0.1916, allocations: 4.111 MB / 0.584 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.194, allocations: 1.289 MB / 0.5853 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.1943, allocations: 19.94 kB / 0.5853 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.1946, allocations: 91.2 kB / 0.5854 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.195, allocations: 154.8 kB / 0.5855 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.1957, allocations: 378.2 kB / 0.5859 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.1965, allocations: 0.8735 MB / 0.5868 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.1971, allocations: 438 kB / 0.5872 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1973, allocations: 274.7 kB / 0.5874 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.1976, allocations: 302.4 kB / 0.5877 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.1977, allocations: 40 kB / 0.5878 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.1978, allocations: 47.94 kB / 0.5878 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1979, allocations: 123.4 kB / 0.5879 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.1982, allocations: 342.1 kB / 0.5883 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.1989, allocations: 0.8381 MB / 0.5891 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1989, allocations: 0 / 0.5891 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.574e-06/0.1989, allocations: 0 / 0.5891 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.1989, allocations: 3.938 kB / 0.5891 GB, free: 15.9 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001757/0.2007, allocations: 1.077 MB / 0.5901 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2007, allocations: 8.031 kB / 0.5901 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2009, allocations: 84 kB / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.2016, allocations: 0.5534 MB / 0.5908 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.2017, allocations: 41.69 kB / 0.5908 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.2018, allocations: 64.28 kB / 0.5909 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.2028, allocations: 0.6078 MB / 0.5915 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.2028, allocations: 7.984 kB / 0.5915 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.2029, allocations: 23.98 kB / 0.5915 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.2029, allocations: 16 kB / 0.5915 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.2038, allocations: 461 kB / 0.5919 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.2064, allocations: 2.004 MB / 0.5939 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.2073, allocations: 441.9 kB / 0.5943 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.2078, allocations: 250 kB / 0.5946 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.2078, allocations: 4.438 kB / 0.5946 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/0.2084, allocations: 257.3 kB / 0.5948 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.2084, allocations: 0 / 0.5948 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001215/0.2096, allocations: 0.5851 MB / 0.5954 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.2097, allocations: 63.78 kB / 0.5954 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.2102, allocations: 453.9 kB / 0.5959 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.2102, allocations: 37.7 kB / 0.5959 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.2104, allocations: 320.3 kB / 0.5962 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2106, allocations: 169.6 kB / 0.5964 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.2107, allocations: 90.25 kB / 0.5965 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2108, allocations: 358.8 kB / 0.5968 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.2112, allocations: 169 kB / 0.597 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.2116, allocations: 253.8 kB / 0.5972 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.2124, allocations: 452 kB / 0.5976 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2124, allocations: 0 / 0.5976 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000958/0.2134, allocations: 0.5584 MB / 0.5982 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.2134, allocations: 37.64 kB / 0.5982 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2134, allocations: 7.938 kB / 0.5982 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2134, allocations: 4 kB / 0.5982 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.2139, allocations: 119.8 kB / 0.5983 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.214, allocations: 8.234 kB / 0.5984 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.2143, allocations: 63.5 kB / 0.5984 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.2143, allocations: 20 kB / 0.5984 GB, free: 5.973 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.2146, allocations: 209.1 kB / 0.5986 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.2147, allocations: 59.28 kB / 0.5987 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.2148, allocations: 69.56 kB / 0.5988 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2148, allocations: 4 kB / 0.5988 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2148, allocations: 0 / 0.5988 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2148, allocations: 3.984 kB / 0.5988 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.2164, allocations: 1.177 MB / 0.5999 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2164, allocations: 4 kB / 0.5999 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.2169, allocations: 99.89 kB / 0.6 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2169, allocations: 0 / 0.6 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.2169, allocations: 15.98 kB / 0.6 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2169, allocations: 0 / 0.6 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2169, allocations: 0 / 0.6 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.2182, allocations: 0.7678 MB / 0.6008 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2184, allocations: 164.4 kB / 0.6009 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.2185, allocations: 8 kB / 0.6009 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.2188, allocations: 35.91 kB / 0.601 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.2189, allocations: 32.39 kB / 0.601 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.2189, allocations: 15.98 kB / 0.601 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000313/0.2192, allocations: 310.9 kB / 0.6013 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2192, allocations: 0 / 0.6013 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004108/0.2197, allocations: 139.5 kB / 0.6014 GB, free: 2.785 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.2198, allocations: 113.8 kB / 0.6016 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009057/0.2207, allocations: 485.1 kB / 0.602 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2207, allocations: 0 / 0.602 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.2211, allocations: 210.4 kB / 0.6022 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.2219, allocations: 150.1 kB / 0.6024 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.2245, allocations: 1.642 MB / 0.604 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3023/0.5268, allocations: 0.8853 MB / 0.6048 GB, free: 54.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.5271, allocations: 43.84 kB / 0.6049 GB, free: 54.89 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/0.5272, allocations: 2.031 kB / 0.6049 GB, free: 54.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.009471/0.5366, allocations: 7.588 MB / 0.6123 GB, free: 54.36 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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 OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1