Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008162/0.0008164, 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.0009436/0.0009435, allocations: 174.2 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.475/1.475, allocations: 223.2 MB / 240.6 MB, free: 5.402 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.59/2.59, allocations: 390.4 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004236, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8575/0.8579, allocations: 142.3 MB / 0.9544 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002156/0.8601, allocations: 1.594 MB / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.8625, allocations: 1.538 MB / 0.9575 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.8628, allocations: 11.97 kB / 0.9575 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.863, allocations: 64.16 kB / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.8632, allocations: 57.75 kB / 0.9576 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.864, allocations: 229.6 kB / 0.9578 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008364/0.8649, allocations: 0.584 MB / 0.9584 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.8653, allocations: 232.2 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.8656, allocations: 171.4 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.8658, allocations: 196.7 kB / 0.959 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.8659, allocations: 19.28 kB / 0.959 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.866, allocations: 33.48 kB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.8661, allocations: 73.75 kB / 0.9591 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.8662, allocations: 110 kB / 0.9592 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.8667, allocations: 0.6038 MB / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8667, allocations: 0 / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8667, allocations: 1.375 kB / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.8668, allocations: 0 / 0.9598 GB, free: 4.133 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001377/0.8681, allocations: 0.8229 MB / 0.9606 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8682, allocations: 13.61 kB / 0.9606 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.8683, allocations: 69.58 kB / 0.9607 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.8688, allocations: 387.8 kB / 0.961 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.8689, allocations: 44.09 kB / 0.9611 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.869, allocations: 58.11 kB / 0.9611 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009046/0.8699, allocations: 499.7 kB / 0.9616 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.8699, allocations: 4 kB / 0.9616 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.87, allocations: 21.38 kB / 0.9616 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.87, allocations: 12.38 kB / 0.9617 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.8707, allocations: 364.2 kB / 0.962 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.873, allocations: 1.583 MB / 0.9635 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008827/0.8739, allocations: 0.8915 MB / 0.9644 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.8743, allocations: 228.4 kB / 0.9646 GB, free: 400 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.8744, allocations: 12.94 kB / 0.9647 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.8748, allocations: 248 kB / 0.9649 GB, free: 236 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.185e-06/0.8748, allocations: 1.531 kB / 0.9649 GB, free: 236 kB / 0.7169 GB Notification: Performance of matching and sorting (n=47): time 0.001143/0.876, allocations: 0.5477 MB / 0.9654 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.8761, allocations: 113.3 kB / 0.9655 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.8766, allocations: 385.1 kB / 0.9659 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.8767, allocations: 37.7 kB / 0.9659 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.8769, allocations: 254.3 kB / 0.9662 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.8771, allocations: 155.2 kB / 0.9663 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.8771, allocations: 11.91 kB / 0.9663 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.8773, allocations: 360.7 kB / 0.9667 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.8778, allocations: 181.1 kB / 0.9669 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.8784, allocations: 298 kB / 0.9671 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.879, allocations: 230.6 kB / 0.9674 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.879, allocations: 1.375 kB / 0.9674 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001402/0.8804, allocations: 0.5759 MB / 0.9679 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.8805, allocations: 176.2 kB / 0.9681 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8806, allocations: 6 kB / 0.9681 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.8806, allocations: 4.312 kB / 0.9681 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.881, allocations: 104.7 kB / 0.9682 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.881, allocations: 7.984 kB / 0.9682 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.8815, allocations: 99.78 kB / 0.9683 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.8815, allocations: 19.72 kB / 0.9683 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.8816, allocations: 5.562 kB / 0.9683 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009386/0.8825, allocations: 475.7 kB / 0.9688 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8825, allocations: 6.172 kB / 0.9688 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.8825, allocations: 8.094 kB / 0.9688 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.8829, allocations: 87.09 kB / 0.9689 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8829, allocations: 4 kB / 0.9689 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.8833, allocations: 87.62 kB / 0.969 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.8833, allocations: 23.27 kB / 0.969 GB, free: 13.49 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0003951/0.8837, allocations: 252.4 kB / 0.9692 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8838, allocations: 44.59 kB / 0.9693 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.8848, allocations: 448.8 kB / 0.9697 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.8848, allocations: 5.875 kB / 0.9697 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8848, allocations: 0 / 0.9697 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8848, allocations: 7.984 kB / 0.9697 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.8867, allocations: 1.153 MB / 0.9708 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8868, allocations: 6.406 kB / 0.9708 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.8871, allocations: 89.58 kB / 0.9709 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.8871, allocations: 3.25 kB / 0.9709 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.8872, allocations: 12.34 kB / 0.9709 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.8872, allocations: 7.453 kB / 0.9709 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8872, allocations: 2.312 kB / 0.971 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.8885, allocations: 0.7451 MB / 0.9717 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.8886, allocations: 130.5 kB / 0.9718 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.8887, allocations: 12.16 kB / 0.9718 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.8889, allocations: 30.39 kB / 0.9718 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.889, allocations: 37.81 kB / 0.9719 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.889, allocations: 16.34 kB / 0.9719 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003498/0.8894, allocations: 272 kB / 0.9722 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8894, allocations: 1.062 kB / 0.9722 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008076/0.8902, allocations: 195.3 kB / 0.9723 GB, free: 11.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002594/0.8905, allocations: 136.2 kB / 0.9725 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.8921, allocations: 0.7902 MB / 0.9732 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.8921, allocations: 1.406 kB / 0.9732 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.8925, allocations: 209.8 kB / 0.9734 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.8931, allocations: 98.34 kB / 0.9735 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.8951, allocations: 1.138 MB / 0.9747 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.8956, allocations: 0.8507 MB / 0.9755 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.8958, allocations: 38.88 kB / 0.9755 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.8958, allocations: 0 / 0.9755 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of Templates: time 0.0107/0.9065, allocations: 5.86 MB / 0.9812 GB, free: 4.16 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.Controls.OBC.CDL.Continuous.Validation.PIDScaleCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScaleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScaleCalcHelperMain.o] Error 1