Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008899/0.008899, allocations: 101.3 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 193.1 kB / 16.79 MB, free: 5.809 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.61/1.61, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002311/0.002311, allocations: 282.8 kB / 290.9 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 92.02 kB / 0.5951 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2843, allocations: 86.98 MB / 0.6801 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006837/0.2912, allocations: 3.286 MB / 0.6833 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.295, allocations: 1.87 MB / 0.6851 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.2954, allocations: 7.938 kB / 0.6851 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.2966, allocations: 271.1 kB / 0.6854 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.2973, allocations: 207.2 kB / 0.6856 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.2982, allocations: 258.3 kB / 0.6858 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008007/0.2991, allocations: 0.5726 MB / 0.6864 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.2996, allocations: 196.8 kB / 0.6866 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.3, allocations: 139.5 kB / 0.6867 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.3005, allocations: 203.3 kB / 0.6869 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7e-05/0.3006, allocations: 16 kB / 0.6869 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.3013, allocations: 279.4 kB / 0.6872 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.3015, allocations: 115.7 kB / 0.6873 GB, free: 9.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.3017, allocations: 147.2 kB / 0.6874 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.3023, allocations: 355.2 kB / 0.6878 GB, free: 9.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3024, allocations: 0 / 0.6878 GB, free: 9.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3024, allocations: 0 / 0.6878 GB, free: 9.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3024, allocations: 0 / 0.6878 GB, free: 9.234 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001492/0.3039, allocations: 0.5926 MB / 0.6884 GB, free: 8.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3039, allocations: 16.03 kB / 0.6884 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009712/0.3049, allocations: 92.47 kB / 0.6885 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.3054, allocations: 280.4 kB / 0.6887 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3054, allocations: 12.94 kB / 0.6887 GB, free: 8.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3056, allocations: 36.48 kB / 0.6888 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.3064, allocations: 445.1 kB / 0.6892 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3064, allocations: 3.984 kB / 0.6892 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.3065, allocations: 8 kB / 0.6892 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.3067, allocations: 48.45 kB / 0.6893 GB, free: 7.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006732/0.3073, allocations: 349.9 kB / 0.6896 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.3104, allocations: 2.203 MB / 0.6917 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.3109, allocations: 266.4 kB / 0.692 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.3111, allocations: 164.8 kB / 0.6922 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3112, allocations: 3.984 kB / 0.6922 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3112, allocations: 34.56 kB / 0.6922 GB, free: 4.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 2.404e-06/0.3112, allocations: 0 / 0.6922 GB, free: 4.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002064/0.3133, allocations: 1.057 MB / 0.6932 GB, free: 3.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3133, allocations: 55.41 kB / 0.6933 GB, free: 3.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3136, allocations: 248.9 kB / 0.6935 GB, free: 2.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.3137, allocations: 33.7 kB / 0.6935 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3138, allocations: 187.9 kB / 0.6937 GB, free: 2.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.3139, allocations: 86.83 kB / 0.6938 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3141, allocations: 81.58 kB / 0.6939 GB, free: 2.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3142, allocations: 330.8 kB / 0.6942 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.3145, allocations: 151.9 kB / 0.6943 GB, free: 2.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.3148, allocations: 237.6 kB / 0.6946 GB, free: 1.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.3154, allocations: 399.4 kB / 0.695 GB, free: 1.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.3154, allocations: 3.938 kB / 0.695 GB, free: 1.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00141/0.3168, allocations: 0.597 MB / 0.6955 GB, free: 0.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.3169, allocations: 8 kB / 0.6956 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3169, allocations: 0 / 0.6956 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008943/0.3178, allocations: 188.9 kB / 0.6957 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.3181, allocations: 63.89 kB / 0.6958 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.3217, allocations: 2.3 MB / 0.698 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.3221, allocations: 15.98 kB / 0.6981 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.3221, allocations: 12 kB / 0.6981 GB, free: 14.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.3223, allocations: 164.2 kB / 0.6982 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.3224, allocations: 27.66 kB / 0.6982 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/0.323, allocations: 363.5 kB / 0.6986 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3231, allocations: 4 kB / 0.6986 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3231, allocations: 0 / 0.6986 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3231, allocations: 0 / 0.6986 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3243, allocations: 0.8135 MB / 0.6994 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3243, allocations: 0 / 0.6994 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.3248, allocations: 75.88 kB / 0.6995 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3248, allocations: 8.062 kB / 0.6995 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3248, allocations: 0 / 0.6995 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.3248, allocations: 4 kB / 0.6995 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3249, allocations: 7.938 kB / 0.6995 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.3257, allocations: 0.6177 MB / 0.7001 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.3259, allocations: 128.8 kB / 0.7002 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.3259, allocations: 12 kB / 0.7002 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3262, allocations: 11.98 kB / 0.7002 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3263, allocations: 15.97 kB / 0.7002 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3263, allocations: 12 kB / 0.7003 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002174/0.3265, allocations: 172.5 kB / 0.7004 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3265, allocations: 4 kB / 0.7004 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004806/0.327, allocations: 91.94 kB / 0.7005 GB, free: 11.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002163/0.3272, allocations: 119.2 kB / 0.7006 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.3283, allocations: 0.5178 MB / 0.7011 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3283, allocations: 0 / 0.7011 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.3285, allocations: 152.4 kB / 0.7013 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.3291, allocations: 57.12 kB / 0.7013 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.331, allocations: 0.9904 MB / 0.7023 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.3315, allocations: 0.7951 MB / 0.7031 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3316, allocations: 27.42 kB / 0.7031 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of SimCode: time 6.22e-07/0.3316, allocations: 0 / 0.7031 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of Templates: time 0.009107/0.3407, allocations: 4.424 MB / 0.7074 GB, free: 4.262 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.o] Error 1