Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.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.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 102.7 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.001376/0.001376, allocations: 173.8 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.528/1.528, allocations: 223.2 MB / 240.6 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 436.7 MB / 0.7113 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004184, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8897, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001691/0.8914, allocations: 1.2 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.8917, allocations: 100.5 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.8918, allocations: 4 kB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.8918, allocations: 3.984 kB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.8919, allocations: 3.938 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.8921, allocations: 15.98 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.8922, allocations: 39.84 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.8923, allocations: 12 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.8923, allocations: 23.86 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.8924, allocations: 19.91 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.8924, allocations: 4 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.8925, allocations: 11.98 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.8925, allocations: 11.98 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.8926, allocations: 29.64 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.163e-05/0.8927, allocations: 35.94 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.8927, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8927, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8927, allocations: 0 / 1.023 GB, free: 15.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00053/0.8932, allocations: 385.1 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.8933, allocations: 11.98 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.8933, allocations: 11.84 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8935, allocations: 171 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.8935, allocations: 8 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.8935, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.8938, allocations: 93.53 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.8938, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.8938, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.8938, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.8941, allocations: 103.9 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.8945, allocations: 284.8 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.8947, allocations: 82.47 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.8949, allocations: 52.92 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.8951, allocations: 105.1 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.8951, allocations: 34.56 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.8951, allocations: 0 / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005308/0.8957, allocations: 181.5 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.8957, allocations: 51.41 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.8959, allocations: 129.8 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.8959, allocations: 25.7 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.896, allocations: 92.08 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.896, allocations: 11.89 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.896, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8961, allocations: 318.8 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.8963, allocations: 51.95 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.8964, allocations: 43.97 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.8966, allocations: 51.95 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.8966, allocations: 3.953 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.8969, allocations: 137.5 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8969, allocations: 4 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8969, allocations: 336 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.8969, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.897, allocations: 23.98 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8971, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.8971, allocations: 19.92 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.8972, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 9.324e-05/0.8973, allocations: 121.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.8973, allocations: 15.84 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.8977, allocations: 145.5 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8977, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8977, allocations: 4 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8977, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.8979, allocations: 177.6 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8979, allocations: 3.938 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.898, allocations: 27.92 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.898, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.898, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.898, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.898, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.8984, allocations: 239.3 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.8984, allocations: 77.11 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.8985, allocations: 3.953 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.8986, allocations: 19.98 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.8986, allocations: 11.98 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.8986, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.18e-05/0.8987, allocations: 98.27 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8987, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002216/0.8989, allocations: 12 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001528/0.8991, allocations: 99.19 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.8994, allocations: 107.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8994, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.8996, allocations: 55.97 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.8999, allocations: 6.375 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.9002, allocations: 186.3 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.9005, allocations: 0.6887 MB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.9006, allocations: 11.44 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.9006, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.002469/0.9031, allocations: 0.8827 MB / 1.028 GB, free: 9.789 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.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.Math.Examples.BiquadraticCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BiquadraticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BiquadraticCalcHelperMain.o] Error 1