Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.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.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008883/0.0008882, allocations: 191.8 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 226.5 MB / 244.7 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007686/0.0007687, allocations: 98.12 kB / 296.7 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002266/0.0002267, allocations: 7.984 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1837, allocations: 51.28 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.3608/0.5445, allocations: 240 MB / 0.6329 GB, free: 10.3 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.562, allocations: 12.74 MB / 0.6454 GB, free: 13.54 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.5642, allocations: 75.44 kB / 0.6454 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.5668, allocations: 0.9325 MB / 0.6463 GB, free: 12.52 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01191/0.5787, allocations: 4.78 MB / 0.651 GB, free: 7.723 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.5902, allocations: 4.794 MB / 0.6557 GB, free: 2.949 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.009552/0.5997, allocations: 9.413 MB / 0.6649 GB, free: 9.508 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.6025, allocations: 1.91 MB / 0.6667 GB, free: 7.57 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009362/0.6119, allocations: 4.91 MB / 0.6715 GB, free: 2.645 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004788/0.6167, allocations: 3.159 MB / 0.6746 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006186/0.6173, allocations: 176 kB / 0.6748 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01579/0.6331, allocations: 10.02 MB / 0.6846 GB, free: 5.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.6353, allocations: 1.695 MB / 0.6862 GB, free: 3.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.6378, allocations: 1.822 MB / 0.688 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2362/0.8741, allocations: 7.15 MB / 0.695 GB, free: 20.56 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8741, allocations: 0 / 0.695 GB, free: 20.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8741, allocations: 0.5312 kB / 0.695 GB, free: 20.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.8742, allocations: 3.281 kB / 0.695 GB, free: 20.56 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 829 * Number of variables: 829 Notification: Performance of Generate backend data structure: time 0.01196/0.8862, allocations: 4.565 MB / 0.6995 GB, free: 18.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.8863, allocations: 9.281 kB / 0.6995 GB, free: 18.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001051/0.8873, allocations: 457.6 kB / 0.6999 GB, free: 18.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.8885, allocations: 406.8 kB / 0.7003 GB, free: 18.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/0.8933, allocations: 2.753 MB / 0.703 GB, free: 17.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.8935, allocations: 346.4 kB / 0.7033 GB, free: 17.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00053/0.8941, allocations: 291.7 kB / 0.7036 GB, free: 17.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009378/0.9035, allocations: 5.393 MB / 0.7088 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.9036, allocations: 11.03 kB / 0.7089 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006705/0.9043, allocations: 123.7 kB / 0.709 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004387/0.9047, allocations: 409.7 kB / 0.7094 GB, free: 17.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.9149, allocations: 5.674 MB / 0.7149 GB, free: 17.32 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02928/0.9442, allocations: 21.99 MB / 0.7364 GB, free: 22.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00608/0.9503, allocations: 3.712 MB / 0.74 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002891/0.9532, allocations: 2.299 MB / 0.7423 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002336/0.9556, allocations: 3.233 MB / 0.7454 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003588/0.9592, allocations: 2.684 MB / 0.748 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001509/0.9607, allocations: 282.4 kB / 0.7483 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=317): time 6.161e-06/0.9607, allocations: 0 / 0.7483 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=377): time 0.1077/1.068, allocations: 33.57 MB / 0.7811 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/1.069, allocations: 482.1 kB / 0.7815 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/1.072, allocations: 2.151 MB / 0.7837 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009911/1.073, allocations: 99.14 kB / 0.7837 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.074, allocations: 1.315 MB / 0.785 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/1.075, allocations: 1.326 MB / 0.7863 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/1.075, allocations: 88.06 kB / 0.7864 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002197/1.076, allocations: 487.5 kB / 0.7869 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005116/1.081, allocations: 2.951 MB / 0.7898 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005931/1.087, allocations: 3.991 MB / 0.7937 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.099, allocations: 7.093 MB / 0.8006 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-05/1.099, allocations: 8 kB / 0.8006 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=541) (initialization): time 0.02251/1.121, allocations: 9.74 MB / 0.8101 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000603/1.122, allocations: 0.9511 MB / 0.811 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-05/1.122, allocations: 28 kB / 0.8111 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.132, allocations: 2.761 MB / 0.8137 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.136, allocations: 0.9288 MB / 0.8147 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009546/1.146, allocations: 6.729 MB / 0.8212 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/1.151, allocations: 0.5493 MB / 0.8218 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009357/1.152, allocations: 230.7 kB / 0.822 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.152, allocations: 4 kB / 0.822 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01844/1.171, allocations: 8.696 MB / 0.8305 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.896e-05/1.171, allocations: 33.45 kB / 0.8305 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008929/1.18, allocations: 2.564 MB / 0.833 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/1.184, allocations: 0.9405 MB / 0.8339 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008893/1.193, allocations: 6.565 MB / 0.8403 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/1.197, allocations: 0.5182 MB / 0.8409 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007655/1.198, allocations: 226.9 kB / 0.8411 GB, free: 13.01 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * Number of states: 0 () * Number of discrete variables: 17 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.numberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],numberOfPeople.nextTimeEvent,$PRE.numberOfPeople.nextTimeEventScaled,numberOfPeople.nextTimeEventScaled,PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 491 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.002626/1.201, allocations: 1.109 MB / 0.8422 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008416/1.202, allocations: 308.3 kB / 0.8424 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.217, allocations: 8.852 MB / 0.8511 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/1.217, allocations: 43.98 kB / 0.8511 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.217, allocations: 4 kB / 0.8511 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0119/1.229, allocations: 6.853 MB / 0.8578 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.253, allocations: 13.17 MB / 0.8707 GB, free: 6.516 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.253, allocations: 192 / 0.8707 GB, free: 6.516 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.257, allocations: 0.7009 MB / 0.8714 GB, free: 5.848 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01195/1.269, allocations: 3.142 MB / 0.8744 GB, free: 2.695 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00092/1.27, allocations: 185.2 kB / 0.8746 GB, free: 2.516 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008765/1.278, allocations: 6.351 MB / 0.8808 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.278, allocations: 0 / 0.8808 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02305/1.301, allocations: 11.38 MB / 0.8919 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/1.304, allocations: 1.053 MB / 0.893 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.305, allocations: 139.9 kB / 0.8931 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/1.309, allocations: 423.2 kB / 0.8935 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008578/1.31, allocations: 261.1 kB / 0.8938 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005275/1.311, allocations: 175.9 kB / 0.8939 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002318/1.313, allocations: 1.444 MB / 0.8953 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/1.313, allocations: 0 / 0.8953 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008502/1.322, allocations: 2.925 MB / 0.8982 GB, free: 10.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,numberOfPeople.nextTimeEvent,numberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (numberOfPeople.nextTimeEvent,numberOfPeople.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (373): * Single equations (assignments): 361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 7,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1935/1.515, allocations: 13.93 MB / 0.9118 GB, free: 309.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01854/1.534, allocations: 11.41 MB / 0.9229 GB, free: 307.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.534, allocations: 6.375 kB / 0.9229 GB, free: 307.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005476/1.539, allocations: 3.545 MB / 0.9264 GB, free: 306.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006565/1.546, allocations: 1.47 MB / 0.9278 GB, free: 305.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04927/1.595, allocations: 33.23 MB / 0.9603 GB, free: 281.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.597, allocations: 2.391 MB / 0.9626 GB, free: 279.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/1.599, allocations: 1.491 MB / 0.9641 GB, free: 278.2 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/1.599, allocations: 3.938 kB / 0.9641 GB, free: 278.2 MB / 0.6042 GB 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_Fluid_Examples_TraceSubstances_RoomCO2WithControlsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControlsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControlsCalcHelperMain.cpp:17: ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls.h:1718:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls_ductOut_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls.h:1736:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls_ductIn_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls.h:1754:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls_ductOut_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControlsCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControlsFMU.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_Fluid_Examples_TraceSubstances_RoomCO2WithControlsCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControlsFMU.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 3 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControlsCalcHelperMain.o] Error 1