Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001388, allocations: 194.7 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 244.7 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009596/0.0009596, allocations: 96.14 kB / 296.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002172/0.0002172, allocations: 8 kB / 356.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1992, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.001361/0.2006, allocations: 1.338 MB / 409.5 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.203, allocations: 1.822 MB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.2031, allocations: 3.938 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.2033, allocations: 23.91 kB / 411.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2035, allocations: 63.34 kB / 411.4 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.2039, allocations: 152.8 kB / 411.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.2041, allocations: 287.3 kB / 411.8 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2042, allocations: 51.45 kB / 411.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000458/0.2047, allocations: 0.6044 MB / 412.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007893/0.2055, allocations: 187.6 kB / 412.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.2056, allocations: 11.98 kB / 412.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.2058, allocations: 132.4 kB / 412.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.2059, allocations: 247.2 kB / 413 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.2062, allocations: 343.3 kB / 413.4 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.2067, allocations: 0.9199 MB / 414.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2067, allocations: 0 / 414.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2067, allocations: 0 / 414.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2067, allocations: 0 / 414.3 MB, free: 21.51 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009986/0.2077, allocations: 1.499 MB / 415.8 MB, free: 19.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2077, allocations: 8.031 kB / 415.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.2078, allocations: 54.73 kB / 415.9 MB, free: 19.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.2079, allocations: 123.4 kB / 416 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.2083, allocations: 0.5354 MB / 416.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.2083, allocations: 16.38 kB / 416.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.2084, allocations: 23.94 kB / 416.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.209, allocations: 0.5777 MB / 417.1 MB, free: 18.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2091, allocations: 0 / 417.1 MB, free: 18.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.2091, allocations: 19.92 kB / 417.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2091, allocations: 0 / 417.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.2095, allocations: 463.8 kB / 417.6 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009725/0.2105, allocations: 0.9193 MB / 418.5 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.2111, allocations: 0.7324 MB / 419.2 MB, free: 16.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.2116, allocations: 0.7037 MB / 420 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2117, allocations: 0 / 420 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.2123, allocations: 0.7204 MB / 420.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.2123, allocations: 0 / 420.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.001792/0.2141, allocations: 2.041 MB / 422.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.2142, allocations: 342.6 kB / 423 MB, free: 12.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.2155, allocations: 1.495 MB / 424.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.2156, allocations: 37.69 kB / 424.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2158, allocations: 278.1 kB / 424.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/0.2159, allocations: 90.89 kB / 424.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.2159, allocations: 12 kB / 425 MB, free: 10.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.216, allocations: 318 kB / 425.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.2164, allocations: 456.1 kB / 425.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.2168, allocations: 491.1 kB / 426.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008155/0.2176, allocations: 1.274 MB / 427.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2176, allocations: 4 kB / 427.5 MB, free: 7.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001262/0.2189, allocations: 1.542 MB / 429 MB, free: 6.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.219, allocations: 299.2 kB / 429.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.219, allocations: 0 / 429.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2191, allocations: 4 kB / 429.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.2191, allocations: 3.938 kB / 429.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2191, allocations: 7.938 kB / 429.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2194, allocations: 35.83 kB / 429.4 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.2195, allocations: 103.9 kB / 429.5 MB, free: 5.672 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dLATRAM.inertialDelaySensitive[2].y,$PRE.dLATRAM.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],$PRE.dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,$PRE.dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 9 * 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.0006344/0.2202, allocations: 0.8612 MB / 430.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2203, allocations: 126.5 kB / 430.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.2205, allocations: 191.8 kB / 430.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2205, allocations: 3.938 kB / 430.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2205, allocations: 0 / 430.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2205, allocations: 7.984 kB / 430.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.2226, allocations: 2.431 MB / 433.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2226, allocations: 4 kB / 433.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.2226, allocations: 0 / 433.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2226, allocations: 3.938 kB / 433.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.2227, allocations: 31.98 kB / 433.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2227, allocations: 0 / 433.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2227, allocations: 0 / 433.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.2242, allocations: 1.855 MB / 435 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/0.2249, allocations: 0.4992 MB / 435.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.2251, allocations: 63.95 kB / 435.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.2254, allocations: 31.89 kB / 435.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/0.2265, allocations: 0.6319 MB / 436.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.2266, allocations: 111.9 kB / 436.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001312/0.228, allocations: 1.074 MB / 437.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.228, allocations: 0 / 437.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.2285, allocations: 180 kB / 437.5 MB, free: 13.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * Number of discrete states: 39 (addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y,dLATRAM.yy[2],dLATRAM.yy[1],dLATRAM.nextstate[2],dLATRAM.nextstate[1],dLATRAM.mem_word[2],dLATRAM.mem_word[1],dLATRAM.int_addr,dLATRAM.mem[4,2],dLATRAM.mem[4,1],dLATRAM.mem[3,2],dLATRAM.mem[3,1],dLATRAM.mem[2,2],dLATRAM.mem[2,1],dLATRAM.mem[1,2],dLATRAM.mem[1,1],dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATRAM.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 9 * 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 Backend phase and start with SimCode phase: time 0.002804/0.2313, allocations: 2.662 MB / 440.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.2333, allocations: 2.064 MB / 442.3 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2333, allocations: 0 / 442.3 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.2346, allocations: 1.584 MB / 443.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.2373, allocations: 0.7222 MB / 444.6 MB, free: 6.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.247, allocations: 7.653 MB / 452.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008813/0.2479, allocations: 1.127 MB / 453.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.2482, allocations: 211.4 kB / 453.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2482, allocations: 0 / 453.6 MB, free: 12.92 MB / 330.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -I"." "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMInitializeParameter.cpp:221:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMInitializeParameter.cpp:222:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Electrical/Digital/Memory_Matrix.txt", tmp1); ~~~~~~~~~~ ^ In file included from OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.cpp:31: ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMInitialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp0; ^ ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMInitialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Electrical/Digital/Memory_Matrix.txt", tmp0); ~~~~~~~~~~ ^ ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMInitialize.cpp:831:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp78; ^ ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMInitialize.cpp:832:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT11, tmp78); ~~~~~~~~~~ ^ In file included from OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.cpp:34: ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAM.cpp:2603:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp274; ^ ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAM.cpp:2604:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Electrical/Digital/Memory_Matrix.txt", tmp274); ~~~~~~~~~~ ^ In file included from OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMFMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 2 warnings and 8 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica_Electrical_Digital_Examples_RAMCalcHelperMain.o] Error 1