Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008649/0.0008651, allocations: 102.6 kB / 15.71 MB, free: 460 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.000983/0.000983, allocations: 171.8 kB / 16.58 MB, free: 6.398 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.465/1.465, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.058/1.058, allocations: 143.4 MB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 8 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 83.41 MB / 0.5981 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.001885/0.2202, allocations: 1.482 MB / 0.5995 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.2211, allocations: 0.5107 MB / 0.6 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.2211, allocations: 3.938 kB / 0.6 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2213, allocations: 19.8 kB / 0.6 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.2213, allocations: 15.88 kB / 0.6 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.2215, allocations: 55.86 kB / 0.6001 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.2217, allocations: 151.5 kB / 0.6002 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2219, allocations: 41.81 kB / 0.6003 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.2219, allocations: 47.8 kB / 0.6003 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.222, allocations: 51.64 kB / 0.6004 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2221, allocations: 4 kB / 0.6004 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.2221, allocations: 4 kB / 0.6004 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.2221, allocations: 15.92 kB / 0.6004 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.2222, allocations: 49.64 kB / 0.6004 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2223, allocations: 87.97 kB / 0.6005 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2223, allocations: 0 / 0.6005 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2223, allocations: 0 / 0.6005 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.2223, allocations: 0 / 0.6005 GB, free: 5.242 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006122/0.2229, allocations: 454.7 kB / 0.601 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.223, allocations: 8.031 kB / 0.601 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.223, allocations: 19.8 kB / 0.601 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.2232, allocations: 226.6 kB / 0.6012 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2233, allocations: 12 kB / 0.6012 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2233, allocations: 16 kB / 0.6012 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.2236, allocations: 153.8 kB / 0.6014 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2236, allocations: 0 / 0.6014 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2236, allocations: 0 / 0.6014 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2236, allocations: 8 kB / 0.6014 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.2239, allocations: 83.84 kB / 0.6015 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008188/0.2247, allocations: 0.7356 MB / 0.6022 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2248, allocations: 58.48 kB / 0.6022 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.2249, allocations: 32.84 kB / 0.6023 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.225, allocations: 7.984 kB / 0.6023 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.2252, allocations: 130.6 kB / 0.6024 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.2252, allocations: 0 / 0.6024 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004467/0.2257, allocations: 181.5 kB / 0.6026 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.2258, allocations: 140.4 kB / 0.6027 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.226, allocations: 195.7 kB / 0.6029 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.226, allocations: 29.7 kB / 0.6029 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.2261, allocations: 135.8 kB / 0.6031 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.2262, allocations: 39.7 kB / 0.6031 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.2262, allocations: 0 / 0.6031 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.2263, allocations: 334.8 kB / 0.6034 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2264, allocations: 40.34 kB / 0.6035 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.2266, allocations: 151.3 kB / 0.6036 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2267, allocations: 60.11 kB / 0.6037 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2267, allocations: 4 kB / 0.6037 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003605/0.2271, allocations: 221 kB / 0.6039 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2271, allocations: 8 kB / 0.6039 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2271, allocations: 4 kB / 0.6039 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2272, allocations: 4.5 kB / 0.6039 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2273, allocations: 39.92 kB / 0.6039 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2273, allocations: 7.953 kB / 0.6039 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2274, allocations: 35.73 kB / 0.604 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.2275, allocations: 11.98 kB / 0.604 GB, free: 1.379 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001127/0.2276, allocations: 139.6 kB / 0.6041 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2276, allocations: 19.81 kB / 0.6041 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.2277, allocations: 21.39 kB / 0.6041 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2277, allocations: 4 kB / 0.6042 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2277, allocations: 0 / 0.6042 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.2277, allocations: 3.953 kB / 0.6042 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.2284, allocations: 0.5288 MB / 0.6047 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2284, allocations: 0 / 0.6047 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.2285, allocations: 20.3 kB / 0.6047 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2285, allocations: 0 / 0.6047 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2285, allocations: 12 kB / 0.6047 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2285, allocations: 11.89 kB / 0.6047 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2286, allocations: 4 kB / 0.6047 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.229, allocations: 368.1 kB / 0.6051 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.2291, allocations: 88.92 kB / 0.6052 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.2291, allocations: 8.031 kB / 0.6052 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2293, allocations: 19.98 kB / 0.6052 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.2293, allocations: 15.94 kB / 0.6052 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2294, allocations: 8 kB / 0.6052 GB, free: 8 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3683/0.5976, allocations: 136.3 kB / 0.6053 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/0.5977, allocations: 0 / 0.6053 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005321/0.5982, allocations: 26.06 kB / 0.6054 GB, free: 40.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001549/0.5984, allocations: 107.7 kB / 0.6055 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.5988, allocations: 123.8 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5988, allocations: 1.156 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.5989, allocations: 60.31 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.5995, allocations: 62.5 kB / 0.6057 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.6001, allocations: 423.4 kB / 0.6061 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.6002, allocations: 0.7228 MB / 0.6068 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.6003, allocations: 16.81 kB / 0.6068 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.6003, allocations: 3.812 kB / 0.6068 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.003357/0.6036, allocations: 2.108 MB / 0.6089 GB, free: 39.35 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1