Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008782/0.0008783, allocations: 89.95 kB / 16.33 MB, free: 6.41 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.0009675/0.0009676, allocations: 185.1 kB / 17.22 MB, free: 6.285 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.47/1.47, allocations: 223.3 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 114.4 MB / 406.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003608, allocations: 8.594 kB / 494.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.196, allocations: 77.26 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004172/0.2003, allocations: 3.251 MB / 0.5615 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.2037, allocations: 1.681 MB / 0.5631 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.2042, allocations: 15.88 kB / 0.5632 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.2045, allocations: 51.5 kB / 0.5632 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009767/0.2055, allocations: 230.8 kB / 0.5634 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.2063, allocations: 190.7 kB / 0.5636 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008782/0.2072, allocations: 0.6322 MB / 0.5642 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008399/0.208, allocations: 338.5 kB / 0.5646 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004114/0.2084, allocations: 203.1 kB / 0.5647 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.2088, allocations: 211.1 kB / 0.565 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.2089, allocations: 12 kB / 0.565 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.2094, allocations: 131.8 kB / 0.5651 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2096, allocations: 107.6 kB / 0.5652 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2097, allocations: 93.52 kB / 0.5653 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.2103, allocations: 435 kB / 0.5657 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.2103, allocations: 8 kB / 0.5657 GB, free: 3.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.2103, allocations: 0 / 0.5657 GB, free: 3.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.2103, allocations: 0 / 0.5657 GB, free: 3.324 MB / 430.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.001167/0.2115, allocations: 0.67 MB / 0.5664 GB, free: 2.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2116, allocations: 12.03 kB / 0.5664 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009016/0.2125, allocations: 135.2 kB / 0.5665 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.213, allocations: 358.6 kB / 0.5668 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.2131, allocations: 28.58 kB / 0.5669 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.2131, allocations: 28 kB / 0.5669 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.214, allocations: 0.5554 MB / 0.5674 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.2141, allocations: 7.891 kB / 0.5674 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.2141, allocations: 16 kB / 0.5675 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.947e-05/0.2142, allocations: 40.53 kB / 0.5675 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/0.2149, allocations: 417.7 kB / 0.5679 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.2182, allocations: 3.326 MB / 0.5711 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.2189, allocations: 346.4 kB / 0.5715 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.2192, allocations: 184.7 kB / 0.5716 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.2192, allocations: 8 kB / 0.5717 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2192, allocations: 38.5 kB / 0.5717 GB, free: 12.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 2.264e-06/0.2192, allocations: 0 / 0.5717 GB, free: 12.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002044/0.2213, allocations: 1.075 MB / 0.5727 GB, free: 11.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.2214, allocations: 55.64 kB / 0.5728 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.2218, allocations: 341.5 kB / 0.5731 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.2218, allocations: 37.64 kB / 0.5732 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.222, allocations: 243.5 kB / 0.5734 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.468e-05/0.2221, allocations: 90.66 kB / 0.5735 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.2221, allocations: 8 kB / 0.5735 GB, free: 10.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2223, allocations: 350.8 kB / 0.5738 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.2226, allocations: 152.8 kB / 0.574 GB, free: 10.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.2229, allocations: 297.9 kB / 0.5742 GB, free: 9.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.2233, allocations: 198.2 kB / 0.5744 GB, free: 9.777 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2233, allocations: 4 kB / 0.5744 GB, free: 9.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000984/0.2243, allocations: 0.571 MB / 0.575 GB, free: 9.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2243, allocations: 8 kB / 0.575 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2243, allocations: 4 kB / 0.575 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.2247, allocations: 90.5 kB / 0.5751 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.225, allocations: 91.83 kB / 0.5752 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.2251, allocations: 11.98 kB / 0.5752 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.2253, allocations: 35.95 kB / 0.5752 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.2253, allocations: 16 kB / 0.5752 GB, free: 8.926 MB / 446.1 MB 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.2256, allocations: 173.6 kB / 0.5754 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.2256, allocations: 39.62 kB / 0.5754 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/0.2265, allocations: 484.1 kB / 0.5759 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2266, allocations: 0 / 0.5759 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.2266, allocations: 4 kB / 0.5759 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2266, allocations: 0 / 0.5759 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.2281, allocations: 0.967 MB / 0.5769 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2281, allocations: 7.938 kB / 0.5769 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.2283, allocations: 56.05 kB / 0.5769 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.2286, allocations: 78.52 kB / 0.577 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.2286, allocations: 7.953 kB / 0.577 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2286, allocations: 7.938 kB / 0.577 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2286, allocations: 0 / 0.577 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.2295, allocations: 0.5546 MB / 0.5776 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2296, allocations: 140.5 kB / 0.5777 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.2297, allocations: 11.98 kB / 0.5777 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.2299, allocations: 23.97 kB / 0.5777 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.23, allocations: 19.97 kB / 0.5777 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.23, allocations: 8 kB / 0.5777 GB, free: 6.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.2303, allocations: 231.2 kB / 0.578 GB, free: 5.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2303, allocations: 4 kB / 0.578 GB, free: 5.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.2308, allocations: 88 kB / 0.5781 GB, free: 5.891 MB / 446.1 MB 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.2309, allocations: 103.9 kB / 0.5782 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009886/0.2319, allocations: 0.6382 MB / 0.5788 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2319, allocations: 1.188 kB / 0.5788 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.2324, allocations: 445.8 kB / 0.5792 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.2331, allocations: 119.1 kB / 0.5793 GB, free: 4.461 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2344, allocations: 0.9102 MB / 0.5802 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.2349, allocations: 0.8237 MB / 0.581 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.235, allocations: 31.44 kB / 0.581 GB, free: 2.625 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.235, allocations: 4 kB / 0.581 GB, free: 2.621 MB / 446.1 MB Notification: Performance of Templates: time 0.3141/0.5491, allocations: 9.388 MB / 0.5902 GB, free: 30.68 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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 OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.o] Error 1