Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008231/0.0008232, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009364/0.0009364, allocations: 175.7 kB / 16.58 MB, free: 6.422 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.497/1.497, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.155/1.155, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 15.98 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2277, allocations: 83.41 MB / 0.5981 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002277/0.2301, allocations: 1.461 MB / 0.5995 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2318, allocations: 1.003 MB / 0.6005 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.232, allocations: 0 / 0.6005 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.2323, allocations: 59.8 kB / 0.6005 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.2326, allocations: 55.81 kB / 0.6006 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.2333, allocations: 183.5 kB / 0.6007 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.2335, allocations: 127.6 kB / 0.6009 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2336, allocations: 21.12 kB / 0.6009 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2338, allocations: 55.75 kB / 0.6009 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2339, allocations: 51.75 kB / 0.601 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2339, allocations: 4 kB / 0.601 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.2341, allocations: 51.92 kB / 0.601 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.2342, allocations: 35.89 kB / 0.6011 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.2343, allocations: 49.58 kB / 0.6011 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.2345, allocations: 155.8 kB / 0.6013 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2345, allocations: 0 / 0.6013 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2345, allocations: 0 / 0.6013 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.2346, allocations: 8 kB / 0.6013 GB, free: 4.504 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007854/0.2353, allocations: 460.4 kB / 0.6017 GB, free: 4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2354, allocations: 16.02 kB / 0.6017 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.2355, allocations: 11.81 kB / 0.6017 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.2358, allocations: 243.7 kB / 0.602 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2358, allocations: 4 kB / 0.602 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.2358, allocations: 4 kB / 0.602 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.2361, allocations: 100.2 kB / 0.6021 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2361, allocations: 0 / 0.6021 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.2361, allocations: 4 kB / 0.6021 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.2361, allocations: 0 / 0.6021 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2362, allocations: 35.92 kB / 0.6021 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.2368, allocations: 360.6 kB / 0.6025 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2371, allocations: 94.69 kB / 0.6026 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.2371, allocations: 40.77 kB / 0.6026 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2372, allocations: 0 / 0.6026 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.2374, allocations: 79.38 kB / 0.6027 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.2374, allocations: 4 kB / 0.6027 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003519/0.2378, allocations: 133.7 kB / 0.6028 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.2378, allocations: 114.7 kB / 0.6029 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.2381, allocations: 263.7 kB / 0.6032 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2382, allocations: 25.7 kB / 0.6032 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.2382, allocations: 116.1 kB / 0.6033 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.2383, allocations: 23.7 kB / 0.6033 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.2383, allocations: 0 / 0.6033 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2384, allocations: 338.8 kB / 0.6036 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.2385, allocations: 23.98 kB / 0.6037 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2386, allocations: 64.22 kB / 0.6037 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.487e-05/0.2387, allocations: 31.98 kB / 0.6038 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2387, allocations: 0 / 0.6038 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002298/0.239, allocations: 117.4 kB / 0.6039 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.239, allocations: 5.875 kB / 0.6039 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.239, allocations: 0 / 0.6039 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.239, allocations: 4 kB / 0.6039 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.2391, allocations: 11.98 kB / 0.6039 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2391, allocations: 3.953 kB / 0.6039 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.2392, allocations: 15.88 kB / 0.6039 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2392, allocations: 7.984 kB / 0.6039 GB, free: 1.539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001406/0.2394, allocations: 146.8 kB / 0.6041 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.2394, allocations: 15.81 kB / 0.6041 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.2395, allocations: 13.41 kB / 0.6041 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.2395, allocations: 7.984 kB / 0.6041 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2395, allocations: 0 / 0.6041 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2395, allocations: 3.953 kB / 0.6041 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.2397, allocations: 221.6 kB / 0.6043 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2397, allocations: 3.938 kB / 0.6043 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.2398, allocations: 8 kB / 0.6043 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2398, allocations: 0 / 0.6043 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2398, allocations: 0 / 0.6043 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2398, allocations: 4 kB / 0.6043 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2398, allocations: 3.984 kB / 0.6043 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.24, allocations: 144.8 kB / 0.6045 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.2401, allocations: 92.91 kB / 0.6046 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2401, allocations: 8 kB / 0.6046 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.2402, allocations: 7.984 kB / 0.6046 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.2403, allocations: 3.984 kB / 0.6046 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2403, allocations: 8 kB / 0.6046 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001811/0.2405, allocations: 196.6 kB / 0.6048 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2405, allocations: 0 / 0.6048 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002704/0.2407, allocations: 35.89 kB / 0.6048 GB, free: 0.5312 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.00102/0.2418, allocations: 427.1 kB / 0.6052 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.242, allocations: 75.81 kB / 0.6053 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.242, allocations: 8.062 kB / 0.6053 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.2421, allocations: 31.98 kB / 0.6053 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2424, allocations: 42.19 kB / 0.6054 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3239/0.5663, allocations: 331.7 kB / 0.6057 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.5666, allocations: 0.7245 MB / 0.6064 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.5667, allocations: 22.22 kB / 0.6064 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/0.5667, allocations: 0.5 kB / 0.6064 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.004402/0.5711, allocations: 2.58 MB / 0.6089 GB, free: 40.01 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicatorCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1