Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_9_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.0009856/0.0009857, 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.001566/0.001566, allocations: 176 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.611/1.611, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.62/2.62, allocations: 390.5 MB / 0.6662 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 8 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7933, allocations: 142.3 MB / 0.9544 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004368/0.7977, allocations: 3.657 MB / 0.958 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.8009, allocations: 2.062 MB / 0.96 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.8012, allocations: 13.28 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.8015, allocations: 65.02 kB / 0.9601 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.802, allocations: 211.3 kB / 0.9603 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.8028, allocations: 274.6 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.8036, allocations: 0.6498 MB / 0.9612 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.8047, allocations: 0.5987 MB / 0.9618 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.805, allocations: 192.8 kB / 0.9619 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.8055, allocations: 250.2 kB / 0.9622 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.8056, allocations: 17.66 kB / 0.9622 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.806, allocations: 146.3 kB / 0.9623 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.8062, allocations: 156 kB / 0.9625 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.8063, allocations: 98.02 kB / 0.9626 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.8068, allocations: 495 kB / 0.9631 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8068, allocations: 4.781 kB / 0.9631 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8068, allocations: 0 / 0.9631 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.8068, allocations: 0.75 kB / 0.9631 GB, free: 1.742 MB / 0.7169 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.0009754/0.8078, allocations: 0.6311 MB / 0.9637 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8078, allocations: 9.875 kB / 0.9637 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.8088, allocations: 139.5 kB / 0.9638 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.8092, allocations: 314.2 kB / 0.9641 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.8092, allocations: 26.78 kB / 0.9641 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/0.8093, allocations: 35.77 kB / 0.9642 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.8102, allocations: 0.6197 MB / 0.9648 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.8103, allocations: 13.12 kB / 0.9648 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.8103, allocations: 17.08 kB / 0.9648 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.829e-05/0.8104, allocations: 44.44 kB / 0.9649 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.8111, allocations: 471.4 kB / 0.9653 GB, free: 100 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.8147, allocations: 3.424 MB / 0.9686 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.8154, allocations: 380.6 kB / 0.969 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.8157, allocations: 174.9 kB / 0.9692 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.8158, allocations: 3.219 kB / 0.9692 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.8158, allocations: 40.27 kB / 0.9692 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 3.938e-06/0.8158, allocations: 0 / 0.9692 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004551/0.8204, allocations: 1.46 MB / 0.9706 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.8204, allocations: 88.55 kB / 0.9707 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.8208, allocations: 321.2 kB / 0.971 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.8209, allocations: 31.02 kB / 0.9711 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.821, allocations: 266.2 kB / 0.9713 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.8211, allocations: 92.31 kB / 0.9714 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.8212, allocations: 9.375 kB / 0.9714 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8213, allocations: 342.8 kB / 0.9717 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.8215, allocations: 171.7 kB / 0.9719 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.8219, allocations: 343.2 kB / 0.9722 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.8223, allocations: 234.7 kB / 0.9725 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8223, allocations: 5.438 kB / 0.9725 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002375/0.8247, allocations: 0.8953 MB / 0.9733 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.8249, allocations: 254.5 kB / 0.9736 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.8249, allocations: 5.469 kB / 0.9736 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/0.8271, allocations: 0.4992 MB / 0.9741 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.8276, allocations: 93.25 kB / 0.9742 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.8329, allocations: 3.777 MB / 0.9778 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.8334, allocations: 41.12 kB / 0.9779 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.8335, allocations: 21.95 kB / 0.9779 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.8335, allocations: 7.172 kB / 0.9779 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007598/0.8342, allocations: 481.8 kB / 0.9784 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8343, allocations: 6.062 kB / 0.9784 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.8343, allocations: 8.375 kB / 0.9784 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.8347, allocations: 108.8 kB / 0.9785 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.8347, allocations: 15.95 kB / 0.9785 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.835, allocations: 37.7 kB / 0.9785 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.835, allocations: 21.03 kB / 0.9786 GB, free: 5.453 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.8353, allocations: 271 kB / 0.9788 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.8354, allocations: 36.64 kB / 0.9789 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.8371, allocations: 0.6725 MB / 0.9795 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.8372, allocations: 3.781 kB / 0.9795 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.8372, allocations: 0 / 0.9795 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8372, allocations: 1.406 kB / 0.9795 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.8382, allocations: 0.6573 MB / 0.9802 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8382, allocations: 3.953 kB / 0.9802 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.8384, allocations: 53.05 kB / 0.9802 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.84, allocations: 403.7 kB / 0.9806 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.84, allocations: 6.688 kB / 0.9806 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.8439, allocations: 3.47 MB / 0.984 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.8439, allocations: 64 / 0.984 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.8456, allocations: 0.822 MB / 0.9848 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.8458, allocations: 148.8 kB / 0.9849 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.8459, allocations: 12 kB / 0.9849 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.8462, allocations: 35.94 kB / 0.985 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.8463, allocations: 27.95 kB / 0.985 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.8463, allocations: 8 kB / 0.985 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000259/0.8466, allocations: 227 kB / 0.9852 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8466, allocations: 0 / 0.9852 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009951/0.8476, allocations: 192.1 kB / 0.9854 GB, free: 14.95 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.8478, allocations: 115.2 kB / 0.9855 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.8495, allocations: 0.9465 MB / 0.9865 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.8495, allocations: 5.938 kB / 0.9865 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006893/0.8502, allocations: 477.3 kB / 0.9869 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.8508, allocations: 77.48 kB / 0.987 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.8522, allocations: 0.9654 MB / 0.9879 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.8526, allocations: 0.8509 MB / 0.9888 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.8527, allocations: 31.42 kB / 0.9888 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.8527, allocations: 0 / 0.9888 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.01098/0.8637, allocations: 8.286 MB / 0.9969 GB, free: 3.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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 OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.ProbeCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.ProbeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.ProbeCalcHelperMain.o] Error 1