Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01035/0.01035, allocations: 101.2 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.002232/0.002232, allocations: 189.8 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002613/0.002613, allocations: 282.9 kB / 290.9 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 169.2 MB / 0.4984 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 89.14 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2189, allocations: 86.99 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005504/0.2244, allocations: 3.755 MB / 0.6838 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.2276, allocations: 1.809 MB / 0.6855 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.2278, allocations: 15.88 kB / 0.6855 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008411/0.2287, allocations: 245.4 kB / 0.6858 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.2294, allocations: 278.7 kB / 0.686 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.23, allocations: 227.6 kB / 0.6863 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.2307, allocations: 0.7453 MB / 0.687 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.2312, allocations: 238.1 kB / 0.6872 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.2315, allocations: 219.1 kB / 0.6874 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.2318, allocations: 231 kB / 0.6876 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.2319, allocations: 23.98 kB / 0.6877 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.2325, allocations: 339.2 kB / 0.688 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.2326, allocations: 115.6 kB / 0.6881 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.2328, allocations: 202.9 kB / 0.6883 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.2333, allocations: 443 kB / 0.6887 GB, free: 8.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2333, allocations: 3.938 kB / 0.6887 GB, free: 8.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2333, allocations: 0 / 0.6887 GB, free: 8.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2333, allocations: 0 / 0.6887 GB, free: 8.324 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001209/0.2346, allocations: 0.7401 MB / 0.6894 GB, free: 7.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2346, allocations: 8.031 kB / 0.6895 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/0.2355, allocations: 136.2 kB / 0.6896 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.236, allocations: 371.7 kB / 0.6899 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.236, allocations: 21.03 kB / 0.69 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.2361, allocations: 32.36 kB / 0.69 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/0.2369, allocations: 0.5627 MB / 0.6905 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2369, allocations: 4 kB / 0.6905 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.237, allocations: 15.98 kB / 0.6906 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.2371, allocations: 40.53 kB / 0.6906 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.2378, allocations: 405.7 kB / 0.691 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.2407, allocations: 3.337 MB / 0.6942 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.2414, allocations: 335.1 kB / 0.6946 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.2417, allocations: 180.7 kB / 0.6947 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2417, allocations: 11.98 kB / 0.6947 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.2418, allocations: 34.56 kB / 0.6948 GB, free: 1.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/0.2418, allocations: 0 / 0.6948 GB, free: 1.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.002048/0.2438, allocations: 1.059 MB / 0.6958 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.2439, allocations: 55.64 kB / 0.6959 GB, free: 0.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.2442, allocations: 337.6 kB / 0.6962 GB, free: 164 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2442, allocations: 33.7 kB / 0.6962 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2444, allocations: 235.6 kB / 0.6964 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.2445, allocations: 106.5 kB / 0.6965 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2446, allocations: 74.05 kB / 0.6966 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2448, allocations: 346.8 kB / 0.6969 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.2451, allocations: 148.7 kB / 0.6971 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.2454, allocations: 294.5 kB / 0.6974 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.2461, allocations: 483.2 kB / 0.6978 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2461, allocations: 4 kB / 0.6978 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009603/0.2471, allocations: 0.5615 MB / 0.6984 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2471, allocations: 8.625 kB / 0.6984 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.2471, allocations: 7.938 kB / 0.6984 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.2475, allocations: 90.45 kB / 0.6985 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.2478, allocations: 87.88 kB / 0.6986 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.2478, allocations: 11.94 kB / 0.6986 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.2481, allocations: 31.91 kB / 0.6986 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.2481, allocations: 16 kB / 0.6986 GB, free: 13.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.2484, allocations: 182.3 kB / 0.6988 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.2484, allocations: 39.53 kB / 0.6988 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009018/0.2494, allocations: 459.9 kB / 0.6993 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.2494, allocations: 4 kB / 0.6993 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.2494, allocations: 4 kB / 0.6993 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2494, allocations: 11.92 kB / 0.6993 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.2513, allocations: 0.9559 MB / 0.7002 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2513, allocations: 4 kB / 0.7002 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.2517, allocations: 52.05 kB / 0.7003 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.2519, allocations: 90.44 kB / 0.7004 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.252, allocations: 4 kB / 0.7004 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.252, allocations: 0 / 0.7004 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.252, allocations: 0 / 0.7004 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.2528, allocations: 0.5502 MB / 0.7009 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.253, allocations: 132.6 kB / 0.701 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.253, allocations: 8 kB / 0.701 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2533, allocations: 31.91 kB / 0.7011 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.2534, allocations: 31.78 kB / 0.7011 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2534, allocations: 8 kB / 0.7011 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002227/0.2536, allocations: 231.2 kB / 0.7013 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2536, allocations: 0 / 0.7013 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004528/0.2541, allocations: 95.98 kB / 0.7014 GB, free: 10.46 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.2542, allocations: 103.2 kB / 0.7015 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008743/0.2551, allocations: 0.6197 MB / 0.7021 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2551, allocations: 4.125 kB / 0.7021 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004515/0.2556, allocations: 440.9 kB / 0.7026 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.2563, allocations: 119.8 kB / 0.7027 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2576, allocations: 0.9133 MB / 0.7036 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.258, allocations: 0.8236 MB / 0.7044 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.2581, allocations: 31.44 kB / 0.7044 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.2581, allocations: 4 kB / 0.7044 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of Templates: time 0.01214/0.2702, allocations: 9.442 MB / 0.7136 GB, free: 13.8 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedanceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.o] Error 1