Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 102.8 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.0009724/0.0009725, allocations: 177 kB / 16.58 MB, free: 6.402 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.448/1.448, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2084, allocations: 83.41 MB / 0.5981 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002525/0.2109, allocations: 1.472 MB / 0.5995 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2126, allocations: 0.9369 MB / 0.6004 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.2127, allocations: 0 / 0.6004 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.2134, allocations: 155.7 kB / 0.6006 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.2137, allocations: 95.69 kB / 0.6006 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.2142, allocations: 139.4 kB / 0.6008 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.2144, allocations: 147.6 kB / 0.6009 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2145, allocations: 25.11 kB / 0.6009 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2146, allocations: 59.66 kB / 0.601 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2147, allocations: 63.73 kB / 0.6011 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2148, allocations: 4 kB / 0.6011 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2149, allocations: 47.92 kB / 0.6011 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.215, allocations: 39.89 kB / 0.6011 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.215, allocations: 41.64 kB / 0.6012 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2153, allocations: 152 kB / 0.6013 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2153, allocations: 4 kB / 0.6013 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2153, allocations: 0 / 0.6013 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2153, allocations: 0 / 0.6013 GB, free: 4.434 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007858/0.2161, allocations: 476.2 kB / 0.6018 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.2161, allocations: 8.031 kB / 0.6018 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.2162, allocations: 23.72 kB / 0.6018 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2165, allocations: 235.7 kB / 0.602 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.2166, allocations: 12 kB / 0.6021 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2166, allocations: 3.938 kB / 0.6021 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.2168, allocations: 91.31 kB / 0.6021 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2168, allocations: 4 kB / 0.6022 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2169, allocations: 0 / 0.6022 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.2169, allocations: 0 / 0.6022 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.217, allocations: 35.97 kB / 0.6022 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.2175, allocations: 360.6 kB / 0.6025 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2177, allocations: 70.67 kB / 0.6026 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.2178, allocations: 36.84 kB / 0.6026 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2178, allocations: 0 / 0.6026 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.218, allocations: 95.3 kB / 0.6027 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.218, allocations: 0 / 0.6027 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003343/0.2184, allocations: 137.4 kB / 0.6029 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.2184, allocations: 85.06 kB / 0.6029 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.2187, allocations: 259.7 kB / 0.6032 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2187, allocations: 25.81 kB / 0.6032 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2188, allocations: 128 kB / 0.6033 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.2189, allocations: 27.66 kB / 0.6034 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2189, allocations: 0 / 0.6034 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002247/0.2191, allocations: 326.8 kB / 0.6037 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.2192, allocations: 27.98 kB / 0.6037 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.2193, allocations: 59.41 kB / 0.6038 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.2194, allocations: 32.36 kB / 0.6038 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2194, allocations: 7.969 kB / 0.6038 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002105/0.2196, allocations: 113.4 kB / 0.6039 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.2196, allocations: 9.875 kB / 0.6039 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2196, allocations: 0 / 0.6039 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2197, allocations: 3.938 kB / 0.6039 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.2198, allocations: 11.98 kB / 0.6039 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2198, allocations: 3.953 kB / 0.6039 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.2198, allocations: 8 kB / 0.6039 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.2198, allocations: 0 / 0.6039 GB, free: 1.52 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: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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.0001528/0.22, allocations: 145.9 kB / 0.6041 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.22, allocations: 15.81 kB / 0.6041 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.2201, allocations: 17.39 kB / 0.6041 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.2201, allocations: 8 kB / 0.6041 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2201, allocations: 0 / 0.6041 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2201, allocations: 3.953 kB / 0.6041 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.2204, allocations: 221.4 kB / 0.6043 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2204, allocations: 7.984 kB / 0.6043 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.2204, allocations: 7.938 kB / 0.6043 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.2204, allocations: 8 kB / 0.6043 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2204, allocations: 0 / 0.6043 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2204, allocations: 0 / 0.6043 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2204, allocations: 0 / 0.6043 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2207, allocations: 148.8 kB / 0.6045 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.2208, allocations: 96.86 kB / 0.6046 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.2208, allocations: 4 kB / 0.6046 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.2209, allocations: 11.98 kB / 0.6046 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.2209, allocations: 7.938 kB / 0.6046 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.221, allocations: 0 / 0.6046 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002433/0.2212, allocations: 196.6 kB / 0.6048 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2212, allocations: 0 / 0.6048 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000259/0.2215, allocations: 27.94 kB / 0.6048 GB, free: 0.5078 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.0009913/0.2225, allocations: 415.3 kB / 0.6052 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.2227, allocations: 79.89 kB / 0.6053 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.2227, allocations: 4 kB / 0.6053 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.2228, allocations: 31.98 kB / 0.6053 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.2231, allocations: 37.81 kB / 0.6054 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3378/0.5608, allocations: 346.3 kB / 0.6057 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.5611, allocations: 0.7229 MB / 0.6064 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.5612, allocations: 22.97 kB / 0.6064 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.243e-06/0.5612, allocations: 0 / 0.6064 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.004482/0.5657, allocations: 2.538 MB / 0.6089 GB, free: 40.03 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicatorCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1