Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009543, allocations: 98.88 kB / 16.02 MB, free: 76 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.001529/0.001529, allocations: 183.7 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.942/1.942, allocations: 292.7 MB / 0.5509 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005649/0.000565, allocations: 16.73 kB / 0.675 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3281, allocations: 116.3 MB / 0.7885 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006486/0.3347, allocations: 3.801 MB / 0.7923 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.339, allocations: 2.187 MB / 0.7944 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.3393, allocations: 4 kB / 0.7944 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3396, allocations: 71.42 kB / 0.7945 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007219/0.3403, allocations: 243 kB / 0.7947 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.3413, allocations: 315.4 kB / 0.795 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.3423, allocations: 0.8103 MB / 0.7958 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3436, allocations: 0.653 MB / 0.7964 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.344, allocations: 191.2 kB / 0.7966 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.3446, allocations: 263 kB / 0.7969 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.3446, allocations: 16 kB / 0.7969 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.3453, allocations: 295.4 kB / 0.7972 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.3455, allocations: 155.6 kB / 0.7973 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.3457, allocations: 224.6 kB / 0.7975 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.3463, allocations: 494.7 kB / 0.798 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3463, allocations: 4 kB / 0.798 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3463, allocations: 0 / 0.798 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3463, allocations: 0 / 0.798 GB, free: 1.809 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001218/0.3476, allocations: 0.6318 MB / 0.7986 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3476, allocations: 8.031 kB / 0.7986 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/0.3486, allocations: 132.3 kB / 0.7987 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.3491, allocations: 336.4 kB / 0.7991 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.3491, allocations: 29.3 kB / 0.7991 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.3492, allocations: 36.38 kB / 0.7991 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009902/0.3502, allocations: 0.6263 MB / 0.7997 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3503, allocations: 4 kB / 0.7997 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.3503, allocations: 19.98 kB / 0.7998 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.387e-05/0.3504, allocations: 40.62 kB / 0.7998 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.3511, allocations: 478.2 kB / 0.8003 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.3549, allocations: 3.416 MB / 0.8036 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.3556, allocations: 378.9 kB / 0.804 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.3559, allocations: 177.6 kB / 0.8041 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.3559, allocations: 4.391 kB / 0.8041 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.356, allocations: 38.5 kB / 0.8042 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.356, allocations: 0 / 0.8042 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004697/0.3607, allocations: 1.477 MB / 0.8056 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3608, allocations: 81.11 kB / 0.8057 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.3611, allocations: 328.4 kB / 0.806 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.3612, allocations: 29.7 kB / 0.806 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3614, allocations: 251.4 kB / 0.8063 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.3615, allocations: 98.64 kB / 0.8064 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.3615, allocations: 41.7 kB / 0.8064 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3618, allocations: 342.8 kB / 0.8067 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.362, allocations: 177 kB / 0.8069 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.3625, allocations: 346 kB / 0.8072 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.3633, allocations: 0.5314 MB / 0.8077 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3633, allocations: 0 / 0.8077 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002332/0.3656, allocations: 0.9133 MB / 0.8086 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.3658, allocations: 253.1 kB / 0.8089 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.3659, allocations: 8 kB / 0.8089 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/0.3682, allocations: 0.4971 MB / 0.8094 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.3686, allocations: 99.81 kB / 0.8095 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/0.3745, allocations: 3.778 MB / 0.8132 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.375, allocations: 43.81 kB / 0.8132 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.3751, allocations: 20 kB / 0.8132 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.3751, allocations: 4 kB / 0.8132 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008089/0.3759, allocations: 484 kB / 0.8137 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3759, allocations: 4 kB / 0.8137 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.376, allocations: 12.03 kB / 0.8137 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.3764, allocations: 111.9 kB / 0.8138 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/0.3764, allocations: 11.98 kB / 0.8138 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.3768, allocations: 35.83 kB / 0.8138 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.3768, allocations: 20 kB / 0.8139 GB, free: 472 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003614/0.3772, allocations: 272.9 kB / 0.8141 GB, free: 188 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3773, allocations: 35.62 kB / 0.8142 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.3792, allocations: 0.6728 MB / 0.8148 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3792, allocations: 4 kB / 0.8148 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3793, allocations: 0 / 0.8148 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3793, allocations: 4 kB / 0.8148 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.3804, allocations: 0.6636 MB / 0.8155 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3804, allocations: 0 / 0.8155 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3806, allocations: 43.95 kB / 0.8155 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.3822, allocations: 409.2 kB / 0.8159 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.3822, allocations: 8 kB / 0.8159 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/0.3867, allocations: 3.474 MB / 0.8193 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3868, allocations: 0 / 0.8193 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.3886, allocations: 0.8259 MB / 0.8201 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.3889, allocations: 148.6 kB / 0.8203 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.389, allocations: 4 kB / 0.8203 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.3894, allocations: 39.94 kB / 0.8203 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.3895, allocations: 19.97 kB / 0.8203 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.3895, allocations: 8 kB / 0.8203 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003035/0.3898, allocations: 231 kB / 0.8205 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3898, allocations: 7.938 kB / 0.8206 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001039/0.3908, allocations: 192 kB / 0.8207 GB, free: 9.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/0.3912, allocations: 111.3 kB / 0.8208 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.3932, allocations: 0.9688 MB / 0.8218 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3932, allocations: 0.625 kB / 0.8218 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.3941, allocations: 477.1 kB / 0.8222 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.3948, allocations: 77.11 kB / 0.8223 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3966, allocations: 0.9692 MB / 0.8233 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.3972, allocations: 0.8507 MB / 0.8241 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3974, allocations: 31.42 kB / 0.8241 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of SimCode: time 1.372e-06/0.3974, allocations: 0 / 0.8241 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of Templates: time 0.01407/0.4114, allocations: 8.277 MB / 0.8322 GB, free: 13.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.ProbeCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.ProbeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.ProbeCalcHelperMain.o] Error 1