Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 102.5 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.001998/0.001998, allocations: 173.8 kB / 16.58 MB, free: 5.961 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.521/1.521, allocations: 223.3 MB / 240.6 MB, free: 5.434 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.603/2.603, allocations: 390.4 MB / 0.6662 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.89/0.8904, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002787/0.8932, allocations: 2.176 MB / 0.9565 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.8947, allocations: 0.8511 MB / 0.9574 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.8949, allocations: 11.19 kB / 0.9574 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.8951, allocations: 39.55 kB / 0.9574 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.8953, allocations: 41.3 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.8958, allocations: 131.4 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.8962, allocations: 386.6 kB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.8965, allocations: 147.4 kB / 0.9581 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.8966, allocations: 81 kB / 0.9582 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.8967, allocations: 94.92 kB / 0.9583 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.8968, allocations: 7.406 kB / 0.9583 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.8968, allocations: 7.5 kB / 0.9583 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.8969, allocations: 41.03 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.8969, allocations: 92.14 kB / 0.9584 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.8973, allocations: 496.1 kB / 0.9589 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8973, allocations: 0 / 0.9589 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8973, allocations: 0 / 0.9589 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8973, allocations: 0 / 0.9589 GB, free: 4.625 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000789/0.8981, allocations: 0.5939 MB / 0.9594 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.8982, allocations: 10.72 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.8983, allocations: 39.41 kB / 0.9595 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.8987, allocations: 367.9 kB / 0.9598 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.8987, allocations: 20.38 kB / 0.9599 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.8988, allocations: 25.34 kB / 0.9599 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.8994, allocations: 331.9 kB / 0.9602 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8994, allocations: 3.938 kB / 0.9602 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.8994, allocations: 10.75 kB / 0.9602 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.8994, allocations: 10.83 kB / 0.9602 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.8999, allocations: 242.2 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.9013, allocations: 1.181 MB / 0.9616 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.9018, allocations: 249.5 kB / 0.9619 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.902, allocations: 114.2 kB / 0.962 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.902, allocations: 5.375 kB / 0.962 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.9021, allocations: 33.31 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.9021, allocations: 0 / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006728/0.9028, allocations: 322 kB / 0.9623 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.9028, allocations: 79.2 kB / 0.9624 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.9032, allocations: 322 kB / 0.9627 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.9032, allocations: 30.89 kB / 0.9627 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.9033, allocations: 194.5 kB / 0.9629 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.9034, allocations: 61.19 kB / 0.963 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.9034, allocations: 0.9688 kB / 0.963 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.9035, allocations: 341.1 kB / 0.9633 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.9037, allocations: 83.69 kB / 0.9634 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.9039, allocations: 128.1 kB / 0.9635 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.9041, allocations: 91.61 kB / 0.9636 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9041, allocations: 0 / 0.9636 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000438/0.9045, allocations: 270 kB / 0.9638 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.9046, allocations: 108.9 kB / 0.9639 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9046, allocations: 1.062 kB / 0.9639 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9046, allocations: 1.094 kB / 0.9639 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.9048, allocations: 39.17 kB / 0.964 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9048, allocations: 1.125 kB / 0.964 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.905, allocations: 32.33 kB / 0.964 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.905, allocations: 7.969 kB / 0.964 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.905, allocations: 10.23 kB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002997/0.9053, allocations: 166.9 kB / 0.9642 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/0.9053, allocations: 1.125 kB / 0.9642 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.9053, allocations: 1.125 kB / 0.9642 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.9054, allocations: 34.3 kB / 0.9642 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.9055, allocations: 5.375 kB / 0.9642 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.9056, allocations: 27.3 kB / 0.9642 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.9056, allocations: 8 kB / 0.9643 GB, free: 432 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001585/0.9057, allocations: 238.5 kB / 0.9645 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.9058, allocations: 34.8 kB / 0.9645 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.9059, allocations: 34.84 kB / 0.9646 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.9059, allocations: 2.125 kB / 0.9646 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9059, allocations: 3.938 kB / 0.9646 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9059, allocations: 1.312 kB / 0.9646 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.9064, allocations: 404.8 kB / 0.9649 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9064, allocations: 5.188 kB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.9066, allocations: 26.48 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9066, allocations: 0 / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.9066, allocations: 14.28 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9066, allocations: 0 / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9066, allocations: 1.438 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.9074, allocations: 452.4 kB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.9075, allocations: 130.8 kB / 0.9655 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.9075, allocations: 5.281 kB / 0.9656 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.9077, allocations: 21.59 kB / 0.9656 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.9077, allocations: 8.828 kB / 0.9656 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.9078, allocations: 7.812 kB / 0.9656 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002663/0.908, allocations: 228.3 kB / 0.9658 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.908, allocations: 0 / 0.9658 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004332/0.9085, allocations: 95.62 kB / 0.9659 GB, free: 15.12 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001473/0.9086, allocations: 112.5 kB / 0.966 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005817/0.9092, allocations: 286 kB / 0.9663 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9092, allocations: 5.031 kB / 0.9663 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.9095, allocations: 99.84 kB / 0.9664 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.9101, allocations: 76.83 kB / 0.9664 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.9113, allocations: 0.6797 MB / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.9116, allocations: 0.7765 MB / 0.9679 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.9117, allocations: 29.28 kB / 0.9679 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9117, allocations: 3.938 kB / 0.9679 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.007122/0.9188, allocations: 3.919 MB / 0.9717 GB, free: 11.52 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.o] Error 1