Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001041/0.001041, allocations: 99.59 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.0009338/0.0009337, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.464/1.464, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 436.7 MB / 0.7113 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003469, allocations: 12.22 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8922/0.8925, allocations: 153.6 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003123/0.8957, allocations: 2.184 MB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.8972, allocations: 0.8421 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.8974, allocations: 11.94 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.8976, allocations: 39.64 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.8978, allocations: 39.59 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.8982, allocations: 131.8 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.8986, allocations: 383.7 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.8988, allocations: 152.4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.899, allocations: 87.45 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.8991, allocations: 91.31 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.8991, allocations: 8 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.46e-05/0.8992, allocations: 8 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.8992, allocations: 47.7 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.8994, allocations: 89.45 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.9, allocations: 496.7 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.9, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 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.0009199/0.9009, allocations: 0.5805 MB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.901, allocations: 12.03 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.9011, allocations: 39.53 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.9015, allocations: 374.2 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.9015, allocations: 24.52 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.9016, allocations: 28 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.9022, allocations: 325.4 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9023, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.9023, allocations: 15.94 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.9023, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.9028, allocations: 250.1 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.9044, allocations: 1.182 MB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.9049, allocations: 245.8 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.9051, allocations: 100.8 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.9051, allocations: 4 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.9052, allocations: 30.56 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.9052, allocations: 4 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006466/0.9058, allocations: 319.6 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.9059, allocations: 81.11 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.9063, allocations: 332.4 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.9063, allocations: 25.7 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.9066, allocations: 196.1 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.9066, allocations: 55.2 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.9066, allocations: 4 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.9069, allocations: 346.8 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.907, allocations: 83.97 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.9072, allocations: 119.4 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.9074, allocations: 99.92 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9074, allocations: 3.938 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004433/0.9079, allocations: 262.9 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.908, allocations: 102.7 kB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.908, allocations: 7.953 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.908, allocations: 0 / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.9082, allocations: 39.98 kB / 1.031 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.9082, allocations: 7.969 kB / 1.031 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.9083, allocations: 27.75 kB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.9083, allocations: 4 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/0.9084, allocations: 4 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003185/0.9087, allocations: 181.5 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.9087, allocations: 0 / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.9087, allocations: 4 kB / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.9088, allocations: 27.92 kB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.9088, allocations: 0 / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.9089, allocations: 23.75 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.909, allocations: 4 kB / 1.032 GB, free: 6.734 MB / 0.7794 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.0002012/0.9092, allocations: 241.1 kB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.9092, allocations: 31.69 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.9093, allocations: 39.22 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9093, allocations: 7.984 kB / 1.032 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.9093, allocations: 0 / 1.032 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9093, allocations: 3.938 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.9098, allocations: 409.3 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9098, allocations: 4 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.9099, allocations: 27.98 kB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9099, allocations: 0 / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.91, allocations: 8 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.91, allocations: 4 kB / 1.032 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.267e-05/0.91, allocations: 3.984 kB / 1.032 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.9107, allocations: 462.8 kB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.9108, allocations: 124.8 kB / 1.033 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.9109, allocations: 8 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.911, allocations: 11.98 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.9111, allocations: 11.98 kB / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.9111, allocations: 8.062 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002161/0.9113, allocations: 231 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9113, allocations: 0 / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003765/0.9117, allocations: 91.62 kB / 1.033 GB, free: 4.949 MB / 0.7794 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.0001096/0.9118, allocations: 107.2 kB / 1.033 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.9124, allocations: 292.4 kB / 1.034 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9124, allocations: 0 / 1.034 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.9126, allocations: 102.8 kB / 1.034 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.9131, allocations: 89.58 kB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.9142, allocations: 0.6731 MB / 1.034 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.9146, allocations: 0.7755 MB / 1.035 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.9147, allocations: 19.44 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of SimCode: time 1.443e-06/0.9147, allocations: 0 / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.006557/0.9213, allocations: 3.916 MB / 1.039 GB, free: 14.93 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.o] Error 1