Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_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.0009668/0.0009668, allocations: 102.6 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.0008203/0.0008203, allocations: 174.6 kB / 16.58 MB, free: 6.027 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.468/1.468, allocations: 223.3 MB / 240.6 MB, free: 5.34 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.486/2.486, allocations: 390.5 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.8996, allocations: 142.3 MB / 0.9544 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001584/0.9012, allocations: 1.196 MB / 0.9556 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.9015, allocations: 97.92 kB / 0.9557 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.9016, allocations: 1.281 kB / 0.9557 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.9016, allocations: 7.938 kB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.9017, allocations: 5.938 kB / 0.9557 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.9019, allocations: 24.28 kB / 0.9557 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.082e-05/0.902, allocations: 41.84 kB / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.9021, allocations: 4.938 kB / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.9021, allocations: 18.64 kB / 0.9558 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.9022, allocations: 17.27 kB / 0.9558 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.9022, allocations: 6.719 kB / 0.9558 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-05/0.9023, allocations: 21.94 kB / 0.9558 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.9023, allocations: 6.062 kB / 0.9558 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.9024, allocations: 32.02 kB / 0.9558 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.546e-05/0.9024, allocations: 36.36 kB / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9025, allocations: 0 / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.103e-06/0.9025, allocations: 0 / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.9025, allocations: 1.188 kB / 0.9559 GB, free: 7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005009/0.903, allocations: 386.7 kB / 0.9562 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.903, allocations: 9.125 kB / 0.9563 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.9031, allocations: 14.89 kB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.9032, allocations: 168.1 kB / 0.9564 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.9032, allocations: 7.922 kB / 0.9564 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.9032, allocations: 2.875 kB / 0.9564 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.9035, allocations: 84.25 kB / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.9035, allocations: 0 / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.9035, allocations: 0 / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9035, allocations: 1.188 kB / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.9038, allocations: 102.7 kB / 0.9566 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.9042, allocations: 285.3 kB / 0.9569 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.9044, allocations: 82 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.9045, allocations: 56.56 kB / 0.957 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.9048, allocations: 105.3 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.9048, allocations: 31.69 kB / 0.9572 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9048, allocations: 0 / 0.9572 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005584/0.9054, allocations: 188.1 kB / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.9054, allocations: 52.53 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.9055, allocations: 124.1 kB / 0.9575 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.9055, allocations: 26.83 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.9056, allocations: 102.7 kB / 0.9576 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.9056, allocations: 5.5 kB / 0.9576 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.9056, allocations: 4 kB / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.9056, allocations: 317.3 kB / 0.9579 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.9058, allocations: 42.09 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.9059, allocations: 56.05 kB / 0.958 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.9061, allocations: 50.62 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.9061, allocations: 0 / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003097/0.9064, allocations: 133.7 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.9064, allocations: 5.719 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9064, allocations: 0 / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.9065, allocations: 5.453 kB / 0.9582 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.9066, allocations: 26.98 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.9066, allocations: 0 / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.9067, allocations: 32.19 kB / 0.9583 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.9067, allocations: 1.156 kB / 0.9583 GB, free: 4.887 MB / 0.7169 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 6.499e-05/0.9068, allocations: 109.4 kB / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.9068, allocations: 10.47 kB / 0.9584 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.9072, allocations: 144.6 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9072, allocations: 2 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.9072, allocations: 3.953 kB / 0.9585 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9072, allocations: 4 kB / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.9073, allocations: 180 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9073, allocations: 0 / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.657e-05/0.9074, allocations: 24.02 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.9074, allocations: 0 / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.9075, allocations: 1.781 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9075, allocations: 0 / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9075, allocations: 0 / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.9078, allocations: 236.7 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.9078, allocations: 82.39 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.9079, allocations: 1.375 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.908, allocations: 14.67 kB / 0.9591 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.908, allocations: 6.641 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.908, allocations: 2.203 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.9081, allocations: 106.9 kB / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9081, allocations: 0 / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002268/0.9083, allocations: 8.812 kB / 0.9592 GB, free: 4.07 MB / 0.7169 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.0001448/0.9085, allocations: 100.3 kB / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.9088, allocations: 102.2 kB / 0.9594 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9088, allocations: 4 kB / 0.9594 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.909, allocations: 58.02 kB / 0.9594 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.9092, allocations: 4.766 kB / 0.9594 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.9095, allocations: 192.9 kB / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.9097, allocations: 0.6958 MB / 0.9603 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.9097, allocations: 8.594 kB / 0.9603 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.9097, allocations: 0 / 0.9603 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of Templates: time 0.002968/0.9127, allocations: 0.8735 MB / 0.9612 GB, free: 2.578 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile make -j1 -f Buildings_9_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_9_Buildings.Utilities.Math.Examples.BiquadraticCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.BiquadraticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.BiquadraticCalcHelperMain.o] Error 1