Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001241/0.001241, allocations: 90.64 kB / 16.33 MB, free: 6.871 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.001341/0.001341, allocations: 192 kB / 17.23 MB, free: 6.699 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.487/1.487, allocations: 223.2 MB / 241.2 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7235/0.7235, allocations: 114.3 MB / 406.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003529, allocations: 10.31 kB / 494.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1893, allocations: 77.26 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005873/0.1953, allocations: 3.49 MB / 0.5617 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.1988, allocations: 1.247 MB / 0.5629 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.1993, allocations: 19.94 kB / 0.5629 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.1997, allocations: 91.14 kB / 0.563 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.2001, allocations: 138.8 kB / 0.5632 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.201, allocations: 283.5 kB / 0.5634 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009926/0.202, allocations: 0.8384 MB / 0.5643 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005565/0.2026, allocations: 291.6 kB / 0.5645 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.2029, allocations: 226.9 kB / 0.5647 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.2032, allocations: 246.6 kB / 0.565 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.2033, allocations: 23.94 kB / 0.565 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.2034, allocations: 28 kB / 0.565 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2035, allocations: 91.55 kB / 0.5651 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.2037, allocations: 161.2 kB / 0.5653 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.2044, allocations: 0.8066 MB / 0.5661 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.2045, allocations: 0 / 0.5661 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2045, allocations: 0 / 0.5661 GB, free: 2.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.2045, allocations: 0 / 0.5661 GB, free: 2.969 MB / 430.1 MB 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.001771/0.2063, allocations: 0.9561 MB / 0.567 GB, free: 1.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2063, allocations: 16.02 kB / 0.567 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2065, allocations: 79.06 kB / 0.5671 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000848/0.2073, allocations: 0.5368 MB / 0.5676 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.2074, allocations: 45.31 kB / 0.5677 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.2075, allocations: 60 kB / 0.5677 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2086, allocations: 0.5997 MB / 0.5683 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.2087, allocations: 7.953 kB / 0.5683 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.2087, allocations: 24 kB / 0.5683 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2087, allocations: 12 kB / 0.5683 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.2097, allocations: 469 kB / 0.5688 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.2126, allocations: 2.028 MB / 0.5708 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.2135, allocations: 457 kB / 0.5712 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.214, allocations: 250 kB / 0.5714 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.214, allocations: 8.422 kB / 0.5714 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005828/0.2146, allocations: 265.4 kB / 0.5717 GB, free: 12.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 3.546e-06/0.2146, allocations: 0 / 0.5717 GB, free: 12.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001253/0.2159, allocations: 0.5999 MB / 0.5723 GB, free: 12.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2159, allocations: 55.84 kB / 0.5723 GB, free: 12.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.2164, allocations: 446.6 kB / 0.5728 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.2165, allocations: 29.7 kB / 0.5728 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.2168, allocations: 320.3 kB / 0.5731 GB, free: 11.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.2169, allocations: 165.6 kB / 0.5733 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.2169, allocations: 12 kB / 0.5733 GB, free: 11.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2171, allocations: 374.7 kB / 0.5736 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.2175, allocations: 169 kB / 0.5738 GB, free: 10.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.2179, allocations: 249.8 kB / 0.574 GB, free: 10.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.2184, allocations: 231.8 kB / 0.5742 GB, free: 10.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2184, allocations: 4 kB / 0.5743 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001007/0.2194, allocations: 0.5623 MB / 0.5748 GB, free: 9.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.2195, allocations: 37.7 kB / 0.5748 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2195, allocations: 3.984 kB / 0.5748 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2195, allocations: 11.94 kB / 0.5749 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.22, allocations: 115.8 kB / 0.575 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.22, allocations: 12.23 kB / 0.575 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.2204, allocations: 63.56 kB / 0.575 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.2204, allocations: 16 kB / 0.575 GB, free: 9.453 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.2207, allocations: 223.7 kB / 0.5753 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.2208, allocations: 59.34 kB / 0.5753 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.221, allocations: 65.58 kB / 0.5754 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.221, allocations: 4 kB / 0.5754 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.221, allocations: 4 kB / 0.5754 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.221, allocations: 0 / 0.5754 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.2228, allocations: 1.189 MB / 0.5765 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2228, allocations: 0 / 0.5765 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.2233, allocations: 95.89 kB / 0.5766 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2233, allocations: 0 / 0.5766 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.2233, allocations: 15.98 kB / 0.5767 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.2233, allocations: 8 kB / 0.5767 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2233, allocations: 3.938 kB / 0.5767 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.2246, allocations: 0.7796 MB / 0.5774 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.2248, allocations: 164.4 kB / 0.5776 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.2249, allocations: 12 kB / 0.5776 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.2251, allocations: 35.97 kB / 0.5776 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.2252, allocations: 32.39 kB / 0.5777 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.2253, allocations: 15.98 kB / 0.5777 GB, free: 6.664 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.2256, allocations: 306.9 kB / 0.578 GB, free: 6.367 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2256, allocations: 0 / 0.578 GB, free: 6.367 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004988/0.2262, allocations: 139.5 kB / 0.5781 GB, free: 6.23 MB / 446.1 MB 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 (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.0001623/0.2263, allocations: 122.6 kB / 0.5782 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009256/0.2273, allocations: 489 kB / 0.5787 GB, free: 5.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2273, allocations: 4 kB / 0.5787 GB, free: 5.613 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.2277, allocations: 218.9 kB / 0.5789 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.2284, allocations: 146 kB / 0.579 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.2312, allocations: 1.65 MB / 0.5807 GB, free: 3.574 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.2317, allocations: 0.8902 MB / 0.5815 GB, free: 2.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.2319, allocations: 51.42 kB / 0.5816 GB, free: 2.602 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2319, allocations: 0 / 0.5816 GB, free: 2.602 MB / 446.1 MB Notification: Performance of Templates: time 0.3599/0.5918, allocations: 7.472 MB / 0.5889 GB, free: 30.98 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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 OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1