Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 88.05 kB / 16.33 MB, free: 6.074 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.0008923/0.0008922, allocations: 187.4 kB / 17.22 MB, free: 5.965 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.431/1.431, allocations: 223.2 MB / 241.2 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6878/0.6878, allocations: 114.3 MB / 406.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 494.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2016, allocations: 77.26 MB / 0.5583 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003818/0.2054, allocations: 3.115 MB / 0.5614 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.2076, allocations: 1.259 MB / 0.5626 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.208, allocations: 23.88 kB / 0.5626 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.2082, allocations: 87.11 kB / 0.5627 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.2087, allocations: 138.1 kB / 0.5628 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.2097, allocations: 460 kB / 0.5633 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.2105, allocations: 0.8199 MB / 0.5641 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004262/0.2109, allocations: 259.1 kB / 0.5643 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.2113, allocations: 270.5 kB / 0.5646 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.2116, allocations: 258.3 kB / 0.5648 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.2116, allocations: 24 kB / 0.5648 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.2117, allocations: 24 kB / 0.5649 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2118, allocations: 111.4 kB / 0.565 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.2119, allocations: 137.3 kB / 0.5651 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.2125, allocations: 0.6159 MB / 0.5657 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2125, allocations: 0 / 0.5657 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2125, allocations: 0 / 0.5657 GB, free: 3.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.2125, allocations: 0 / 0.5657 GB, free: 3.32 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001766/0.2143, allocations: 1.071 MB / 0.5667 GB, free: 2.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2144, allocations: 16.02 kB / 0.5668 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2145, allocations: 94.88 kB / 0.5668 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.2154, allocations: 0.5668 MB / 0.5674 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.2155, allocations: 100.4 kB / 0.5675 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/0.2156, allocations: 56 kB / 0.5675 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.2167, allocations: 0.6118 MB / 0.5681 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2167, allocations: 3.938 kB / 0.5681 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.2168, allocations: 24 kB / 0.5682 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.2168, allocations: 12 kB / 0.5682 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000919/0.2177, allocations: 443.6 kB / 0.5686 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.2204, allocations: 2.122 MB / 0.5707 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2216, allocations: 0.523 MB / 0.5712 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.2221, allocations: 225.3 kB / 0.5714 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.2221, allocations: 7.984 kB / 0.5714 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/0.2228, allocations: 290.2 kB / 0.5717 GB, free: 12.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/0.2228, allocations: 0 / 0.5717 GB, free: 12.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001378/0.2242, allocations: 0.6442 MB / 0.5723 GB, free: 12.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.2242, allocations: 88.8 kB / 0.5724 GB, free: 12.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.2249, allocations: 0.61 MB / 0.573 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.225, allocations: 37.7 kB / 0.573 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.2252, allocations: 356.8 kB / 0.5734 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.2254, allocations: 157.7 kB / 0.5735 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.2254, allocations: 12 kB / 0.5735 GB, free: 10.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2255, allocations: 322 kB / 0.5738 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.2259, allocations: 181 kB / 0.574 GB, free: 10.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.2264, allocations: 288.2 kB / 0.5743 GB, free: 10.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.2269, allocations: 238.4 kB / 0.5745 GB, free: 9.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2269, allocations: 0 / 0.5745 GB, free: 9.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001128/0.228, allocations: 0.6139 MB / 0.5751 GB, free: 9.301 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.2282, allocations: 189.2 kB / 0.5753 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2282, allocations: 4 kB / 0.5753 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2282, allocations: 4 kB / 0.5753 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.2287, allocations: 119.8 kB / 0.5754 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2287, allocations: 4 kB / 0.5754 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.2291, allocations: 67.41 kB / 0.5755 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.2291, allocations: 20 kB / 0.5755 GB, free: 8.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.2291, allocations: 4 kB / 0.5755 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009686/0.2301, allocations: 0.4998 MB / 0.576 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2301, allocations: 4.312 kB / 0.576 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.2301, allocations: 8 kB / 0.576 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.2306, allocations: 103.8 kB / 0.5761 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2306, allocations: 11.98 kB / 0.5761 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2309, allocations: 59.47 kB / 0.5762 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.2309, allocations: 16 kB / 0.5762 GB, free: 8.148 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002923/0.2312, allocations: 277 kB / 0.5765 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.2313, allocations: 82.98 kB / 0.5765 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.2315, allocations: 75.22 kB / 0.5766 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.2315, allocations: 4 kB / 0.5766 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2315, allocations: 4 kB / 0.5766 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.2315, allocations: 7.938 kB / 0.5766 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.2322, allocations: 0.6219 MB / 0.5772 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2322, allocations: 0 / 0.5772 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.2327, allocations: 87.88 kB / 0.5773 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2327, allocations: 4 kB / 0.5773 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.2327, allocations: 16 kB / 0.5773 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2327, allocations: 0 / 0.5773 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2327, allocations: 0 / 0.5773 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.2341, allocations: 0.755 MB / 0.5781 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.2344, allocations: 192.2 kB / 0.5783 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.2344, allocations: 8 kB / 0.5783 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.2348, allocations: 47.95 kB / 0.5783 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.2349, allocations: 31.95 kB / 0.5783 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.2349, allocations: 15.98 kB / 0.5784 GB, free: 5.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00049/0.2354, allocations: 427 kB / 0.5788 GB, free: 5.422 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2354, allocations: 0 / 0.5788 GB, free: 5.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005997/0.2361, allocations: 215.3 kB / 0.579 GB, free: 5.211 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001718/0.2362, allocations: 115.9 kB / 0.5791 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.2377, allocations: 0.801 MB / 0.5799 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2377, allocations: 4.125 kB / 0.5799 GB, free: 4.262 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.2382, allocations: 223.9 kB / 0.5801 GB, free: 4.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.239, allocations: 189.6 kB / 0.5803 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.241, allocations: 1.421 MB / 0.5816 GB, free: 2.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.2415, allocations: 0.9143 MB / 0.5825 GB, free: 1.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.2417, allocations: 51.42 kB / 0.5826 GB, free: 1.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2417, allocations: 0 / 0.5826 GB, free: 1.41 MB / 446.1 MB Notification: Performance of Templates: time 0.3512/0.5929, allocations: 8.545 MB / 0.5909 GB, free: 29.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.LimPIDCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1