Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008724, allocations: 101.4 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.001193/0.001193, allocations: 176.3 kB / 16.58 MB, free: 6.047 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.569/1.569, allocations: 223.3 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2338/0.2338, allocations: 22.36 MB / 314.1 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004639, allocations: 12 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5087, allocations: 55.97 MB / 438.6 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003009/0.5118, allocations: 1.618 MB / 440.2 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.5133, allocations: 0.6751 MB / 440.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.5135, allocations: 2.781 kB / 440.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.5139, allocations: 71.11 kB / 440.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.5142, allocations: 93.92 kB / 441 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.5147, allocations: 149.4 kB / 441.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00056/0.5153, allocations: 420.7 kB / 441.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.5155, allocations: 47.92 kB / 441.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.5158, allocations: 218.1 kB / 441.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.5162, allocations: 189.4 kB / 442 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.5162, allocations: 8.719 kB / 442 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.274e-05/0.5163, allocations: 16.03 kB / 442 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.5164, allocations: 77.88 kB / 442.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.5165, allocations: 58.33 kB / 442.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.5168, allocations: 193.2 kB / 442.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.5168, allocations: 3.031 kB / 442.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5168, allocations: 0 / 442.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.5168, allocations: 0 / 442.4 MB, free: 37.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.002271/0.5191, allocations: 0.7415 MB / 443.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.5192, allocations: 8.781 kB / 443.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.559e-05/0.5193, allocations: 40.91 kB / 443.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5205, allocations: 440.1 kB / 443.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.5206, allocations: 10.47 kB / 443.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.5206, allocations: 19.5 kB / 443.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.5211, allocations: 183.9 kB / 443.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5211, allocations: 0 / 443.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.5212, allocations: 10.67 kB / 443.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.5212, allocations: 2.75 kB / 443.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.5217, allocations: 182.8 kB / 444 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.5231, allocations: 0.6512 MB / 444.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.5242, allocations: 338.2 kB / 445 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.5245, allocations: 105.1 kB / 445.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.5245, allocations: 4.094 kB / 445.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.5246, allocations: 38.69 kB / 445.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.874e-06/0.5246, allocations: 0 / 445.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001522/0.5261, allocations: 0.4976 MB / 445.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.5262, allocations: 58.41 kB / 445.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.5274, allocations: 457 kB / 446.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.5274, allocations: 36.48 kB / 446.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5276, allocations: 165.2 kB / 446.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.5277, allocations: 82.25 kB / 446.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.5277, allocations: 0 / 446.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5279, allocations: 345.5 kB / 446.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.5281, allocations: 81.11 kB / 446.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.5283, allocations: 110.7 kB / 446.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.5286, allocations: 106.3 kB / 447 MB, free: 34.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5286, allocations: 3.094 kB / 447 MB, free: 34.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007764/0.5294, allocations: 342.1 kB / 447.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5294, allocations: 5.875 kB / 447.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5294, allocations: 0 / 447.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.5298, allocations: 57.16 kB / 447.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.53, allocations: 34.98 kB / 447.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.5316, allocations: 1.496 MB / 448.9 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.5321, allocations: 69.48 kB / 449 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.5321, allocations: 5.688 kB / 449 MB, free: 32.93 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002858/0.5324, allocations: 168.2 kB / 449.2 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.5325, allocations: 30 kB / 449.2 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.5326, allocations: 44.23 kB / 449.3 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5327, allocations: 11.23 kB / 449.3 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5327, allocations: 8 kB / 449.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5327, allocations: 0 / 449.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.5332, allocations: 350.6 kB / 449.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5332, allocations: 0 / 449.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.5335, allocations: 25.03 kB / 449.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/0.5337, allocations: 54.95 kB / 449.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.5337, allocations: 6.781 kB / 449.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.535, allocations: 1.491 MB / 451.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5351, allocations: 0 / 451.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.5361, allocations: 0.5149 MB / 451.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.5362, allocations: 114 kB / 451.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.5363, allocations: 11 kB / 451.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.5368, allocations: 70.03 kB / 451.9 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.5369, allocations: 13.53 kB / 451.9 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.537, allocations: 5.531 kB / 451.9 MB, free: 30.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001043/0.538, allocations: 370.9 kB / 452.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.538, allocations: 0 / 452.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.5385, allocations: 56.94 kB / 452.3 MB, free: 30.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.5387, allocations: 111.9 kB / 452.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008478/0.5396, allocations: 343.1 kB / 452.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5396, allocations: 0 / 452.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.54, allocations: 239.1 kB / 453 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.5406, allocations: 45.73 kB / 453.1 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.5424, allocations: 0.7507 MB / 453.8 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.5427, allocations: 0.8009 MB / 454.6 MB, free: 28.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.5428, allocations: 23.53 kB / 454.6 MB, free: 28.88 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5428, allocations: 0 / 454.6 MB, free: 28.88 MB / 350.1 MB Notification: Performance of Templates: time 0.009972/0.5528, allocations: 4.543 MB / 459.2 MB, free: 28.59 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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 OMCppAES_AES.Coursework.Typical_control_structures.FF_compensation_with_delayCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.FF_compensation_with_delayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.FF_compensation_with_delayCalcHelperMain.o] Error 1